From ed94652a337eeb63eb05c8fb3e2ea6cb854cda19 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 2 Nov 2018 10:27:56 +0900 Subject: [PATCH] test: drop 'After=multi-user.target' from most of testsuite.service --- test/TEST-04-JOURNAL/test.sh | 1 - test/TEST-05-RLIMITS/test.sh | 1 - test/TEST-06-SELINUX/test.sh | 1 - test/TEST-07-ISSUE-1981/test.sh | 1 - test/TEST-08-ISSUE-2730/test.sh | 1 - test/TEST-09-ISSUE-2691/test.sh | 1 - test/TEST-10-ISSUE-2467/test.sh | 1 - test/TEST-11-ISSUE-3166/test.sh | 1 - test/TEST-12-ISSUE-3171/test.sh | 1 - test/TEST-13-NSPAWN-SMOKE/test.sh | 1 - test/TEST-14-MACHINE-ID/test.sh | 1 - test/TEST-15-DROPIN/testsuite.service | 1 - test/TEST-22-TMPFILES/testsuite.service | 2 +- 13 files changed, 1 insertion(+), 13 deletions(-) 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