summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-08.service
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-13 12:34:41 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-28 11:51:27 +0100
commit4962ed9f33af3c12ea2dfb72bdf28ef619c52036 (patch)
treeb546589f277841890dc96df15e94d6672503e2df /test/units/testsuite-08.service
parenttest: mount root rw and drop /etc/fstab (diff)
downloadsystemd-4962ed9f33af3c12ea2dfb72bdf28ef619c52036.tar.xz
systemd-4962ed9f33af3c12ea2dfb72bdf28ef619c52036.zip
test: make sure to reset state before starting integration tests
Diffstat (limited to 'test/units/testsuite-08.service')
-rw-r--r--test/units/testsuite-08.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/units/testsuite-08.service b/test/units/testsuite-08.service
index 79fb089c70..d961dc7ae2 100644
--- a/test/units/testsuite-08.service
+++ b/test/units/testsuite-08.service
@@ -2,5 +2,6 @@
Description=TEST-08-ISSUE-2730
[Service]
+ExecStartPre=rm -f /failed /testok
ExecStart=sh -x -c 'mount -o remount,rw /dev/sda1 && echo OK >/testok; systemctl poweroff'
Type=oneshot