]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/TEST-01-BASIC/test.sh
tests: various fixes
[thirdparty/systemd.git] / test / TEST-01-BASIC / test.sh
index d97fbe24d492a71b49084ae630dd6780f6a81728..b6b474393daa8c7c049d9f093a9f17523b88ea6b 100755 (executable)
@@ -53,7 +53,7 @@ Description=Testsuite service
 After=multi-user.target
 
 [Service]
-ExecStart=/bin/bash -c 'set -x; systemctl --failed --no-legend --no-pager > /failed ; echo OK > /testok; while : ;do echo "testsuite service waiting for journal to move to /var/log/journal" > /dev/console ; for i in /var/log/journal/*;do [ -d "\$i" ] && echo "\$i" && break 2; done; sleep 1; done; sleep 1; exit 0;'
+ExecStart=/bin/sh -x -c 'systemctl --failed --no-legend --no-pager > /failed ; echo OK > /testok'
 Type=oneshot
 EOF