summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-26 09:10:48 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-04 21:45:45 -0500
commit134953c99c7441c4fa2d8000face10608f8832ec (patch)
tree6d745c28e4f4bab7a0b272be29441849a72e5884
parent67a47c609683559dddba0c8e3875723010a088e1 (diff)
Enable test-daemon, test-log, test-watchdog by default
Those should be safe to run, resulting in some messages in logs.
-rw-r--r--Makefile.am6
-rw-r--r--src/test/test-daemon.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 0ee52324a3..c6f6bc5d37 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 4ce00f4b1f..a7cb426282 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;
}