From 134953c99c7441c4fa2d8000face10608f8832ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 26 Feb 2016 09:10:48 -0500 Subject: [PATCH] Enable test-daemon, test-log, test-watchdog by default Those should be safe to run, resulting in some messages in logs. --- Makefile.am | 6 +++--- src/test/test-daemon.c | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0ee5232..c6f6bc5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/src/test/test-daemon.c b/src/test/test-daemon.c index 4ce00f4..a7cb426 100644 --- a/src/test/test-daemon.c +++ b/src/test/test-daemon.c @@ -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; } -- 2.7.4