1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

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 += \ manual_tests += \
test-ns \ test-ns \
test-hostname \ test-hostname \
test-daemon \
test-cgroup \ test-cgroup \
test-install \ test-install \
test-watchdog \
test-log \
test-ipcrm \ test-ipcrm \
test-btrfs \ test-btrfs \
test-acd \ test-acd \
@ -1410,8 +1407,11 @@ manual_tests += \
endif endif
tests += \ tests += \
test-daemon \
test-log \
test-loopback \ test-loopback \
test-engine \ test-engine \
test-watchdog \
test-cgroup-mask \ test-cgroup-mask \
test-job-type \ test-job-type \
test-env-replace \ test-env-replace \

View File

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