summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-01-06 13:40:36 +0100
committerLennart Poettering <lennart@poettering.net>2020-01-06 13:41:56 +0100
commitf9aefc91f170081fe021539977b0d2e6b86567f7 (patch)
tree228e51875a2b6ed7a04d0b55ecbc1fa39e1d83c4 /test
parente9786a5c016477c37905e4a5538f753643c672fd (diff)
downloadsystemd-f9aefc91f170081fe021539977b0d2e6b86567f7.tar.gz
testsuite: drop "systemctl is-system-running --wait" invocation
We wait for "basic.target" being reached in the user instance anyway before allowing the user's session to start, hence doing such a wait is unnecessary, since that would just mean we'd wait for "default.target" on top of "basic.target", but we shouldn#t need anything of that... Hence, let's simplify this, reduce explicit sync points.
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-43-PRIVATEUSER-UNPRIV/testsuite.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/TEST-43-PRIVATEUSER-UNPRIV/testsuite.sh b/test/TEST-43-PRIVATEUSER-UNPRIV/testsuite.sh
index 837d5dbfa8..fa5da2ec7d 100755
--- a/test/TEST-43-PRIVATEUSER-UNPRIV/testsuite.sh
+++ b/test/TEST-43-PRIVATEUSER-UNPRIV/testsuite.sh
@@ -10,8 +10,6 @@ runas() {
su "$userid" -s /bin/sh -c 'XDG_RUNTIME_DIR=/run/user/$UID exec "$@"' -- sh "$@"
}
-runas testuser systemctl --user --wait is-system-running
-
runas testuser systemd-run --user --unit=test-private-users \
-p PrivateUsers=yes -P echo hello