Enable test-daemon, test-log, test-watchdog by default

Those should be safe to run, resulting in some messages in logs.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-02-26 09:10:48 -05:00
parent 67a47c6096
commit 134953c99c
2 changed files with 8 additions and 8 deletions

View file

@ -1388,11 +1388,8 @@ EXTRA_DIST += \
manual_tests += \
test-ns \
test-hostname \
test-daemon \
test-cgroup \
test-install \
test-watchdog \
test-log \
test-ipcrm \
test-btrfs \
test-acd \
@ -1410,8 +1407,11 @@ manual_tests += \
endif
tests += \
test-daemon \
test-log \
test-loopback \
test-engine \
test-watchdog \
test-cgroup-mask \
test-job-type \
test-env-replace \

View file

@ -38,27 +38,27 @@ int main(int argc, char*argv[]) {
sd_notify(0,
"STATUS=Starting up");
sleep(5);
sleep(1);
sd_notify(0,
"STATUS=Running\n"
"READY=1");
sleep(5);
sleep(1);
sd_notify(0,
"STATUS=Reloading\n"
"RELOADING=1");
sleep(5);
sleep(1);
sd_notify(0,
"STATUS=Running\n"
"READY=1");
sleep(5);
sleep(1);
sd_notify(0,
"STATUS=Quitting\n"
"STOPPING=1");
sleep(5);
sleep(1);
return EXIT_SUCCESS;
}