diff options
author | Daniel Mack <github@zonque.org> | 2016-01-06 12:56:56 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-01-06 12:56:56 +0100 |
commit | 0b460d9681a97652f2232b7ac5f481fe654a380b (patch) | |
tree | b6761d5bcc566baf0cade4cf21a5e16f54ea5316 /test/TEST-04-JOURNAL/test.sh | |
parent | d108cffc22a08a75748ceab72fab76728674befd (diff) | |
parent | 3889613ec6bc54b9e02955f62b9d5c5b571c3d4b (diff) |
Merge pull request #2243 from evverx/add-regression-test-for-journald-restart
tests: add regression test for `systemctl restart systemd-journald`
Diffstat (limited to 'test/TEST-04-JOURNAL/test.sh')
-rwxr-xr-x | test/TEST-04-JOURNAL/test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/TEST-04-JOURNAL/test.sh b/test/TEST-04-JOURNAL/test.sh index 6c5b5cf34e..1a14f76060 100755 --- a/test/TEST-04-JOURNAL/test.sh +++ b/test/TEST-04-JOURNAL/test.sh @@ -57,6 +57,15 @@ ExecStart=/test-journal.sh Type=oneshot EOF + cat >$initdir/etc/systemd/system/forever-print-hola.service <<EOF +[Unit] +Description=ForeverPrintHola service + +[Service] +Type=simple +ExecStart=/bin/sh -x -c 'while :; do printf "Hola\n" || touch /i-lose-my-logs; sleep 1; done' +EOF + cp test-journal.sh $initdir/ setup_testsuite |