diff --git a/test/TEST-04-JOURNAL/test.sh b/test/TEST-04-JOURNAL/test.sh index 80e5fb0a73..33bfcbf681 100755 --- a/test/TEST-04-JOURNAL/test.sh +++ b/test/TEST-04-JOURNAL/test.sh @@ -30,7 +30,6 @@ test_setup() { cat >$initdir/etc/systemd/system/testsuite.service <$initdir/etc/systemd/system/testsuite.service <$initdir/etc/systemd/system/testsuite.service [Unit] Description=Testsuite service -After=multi-user.target [Service] ExecStart=/test-selinux-checks.sh diff --git a/test/TEST-07-ISSUE-1981/test.sh b/test/TEST-07-ISSUE-1981/test.sh index 8d3ed04712..499a36038c 100755 --- a/test/TEST-07-ISSUE-1981/test.sh +++ b/test/TEST-07-ISSUE-1981/test.sh @@ -33,7 +33,6 @@ test_setup() { cat >$initdir/etc/systemd/system/testsuite.service <$initdir/etc/systemd/system/testsuite.service < /testok; systemctl poweroff' diff --git a/test/TEST-09-ISSUE-2691/test.sh b/test/TEST-09-ISSUE-2691/test.sh index 40eac30076..01eb4dbac8 100755 --- a/test/TEST-09-ISSUE-2691/test.sh +++ b/test/TEST-09-ISSUE-2691/test.sh @@ -24,7 +24,6 @@ test_setup() { cat >$initdir/etc/systemd/system/testsuite.service <<'EOF' [Unit] Description=Testsuite service -After=multi-user.target [Service] Type=oneshot diff --git a/test/TEST-10-ISSUE-2467/test.sh b/test/TEST-10-ISSUE-2467/test.sh index e61f5acd3c..d8959187a1 100755 --- a/test/TEST-10-ISSUE-2467/test.sh +++ b/test/TEST-10-ISSUE-2467/test.sh @@ -23,7 +23,6 @@ test_setup() { cat >$initdir/etc/systemd/system/testsuite.service <<'EOF' [Unit] Description=Testsuite service -After=multi-user.target [Service] Type=oneshot diff --git a/test/TEST-11-ISSUE-3166/test.sh b/test/TEST-11-ISSUE-3166/test.sh index e6e96101aa..6cde7fd7ea 100755 --- a/test/TEST-11-ISSUE-3166/test.sh +++ b/test/TEST-11-ISSUE-3166/test.sh @@ -32,7 +32,6 @@ test_setup() { cat >$initdir/etc/systemd/system/testsuite.service <$initdir/test-socket-group.sh <<'EOF' #!/bin/bash set -x diff --git a/test/TEST-13-NSPAWN-SMOKE/test.sh b/test/TEST-13-NSPAWN-SMOKE/test.sh index 0659a68cf0..75e214c008 100755 --- a/test/TEST-13-NSPAWN-SMOKE/test.sh +++ b/test/TEST-13-NSPAWN-SMOKE/test.sh @@ -37,7 +37,6 @@ test_setup() { cat >$initdir/etc/systemd/system/testsuite.service <$initdir/etc/systemd/system/testsuite.service < /failed ; echo OK > /testok' diff --git a/test/TEST-15-DROPIN/testsuite.service b/test/TEST-15-DROPIN/testsuite.service index d9790c2610..4c9f65e2b1 100644 --- a/test/TEST-15-DROPIN/testsuite.service +++ b/test/TEST-15-DROPIN/testsuite.service @@ -1,6 +1,5 @@ [Unit] Description=Testsuite service -After=multi-user.target [Service] ExecStart=/test-dropin.sh diff --git a/test/TEST-22-TMPFILES/testsuite.service b/test/TEST-22-TMPFILES/testsuite.service index 123b12790f..a19174e795 100644 --- a/test/TEST-22-TMPFILES/testsuite.service +++ b/test/TEST-22-TMPFILES/testsuite.service @@ -1,6 +1,6 @@ [Unit] Description=Testsuite service -After=multi-user.target +After=systemd-tmpfiles-setup.service [Service] WorkingDirectory=/testsuite