From: Yu Watanabe Date: Fri, 2 Nov 2018 01:27:56 +0000 (+0900) Subject: test: drop 'After=multi-user.target' from most of testsuite.service X-Git-Tag: v240~413^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10606%2Fhead;p=thirdparty%2Fsystemd.git test: drop 'After=multi-user.target' from most of testsuite.service --- diff --git a/test/TEST-04-JOURNAL/test.sh b/test/TEST-04-JOURNAL/test.sh index 80e5fb0a738..33bfcbf681a 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 8d3ed04712a..499a36038c6 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 40eac300764..01eb4dbac89 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 e61f5acd3c8..d8959187a1f 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 e6e96101aab..6cde7fd7eaa 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 0659a68cf0f..75e214c0088 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 d9790c26102..4c9f65e2b1e 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 123b12790ff..a19174e7952 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