]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "test: wait for user inactive" 22282/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Jan 2022 01:44:12 +0000 (10:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Jan 2022 01:44:12 +0000 (10:44 +0900)
As it does not work, and the test still randomly fails.

This reverts commit de27f4c8b8dd230a936f1b467a1da275f6fe024b.

test/units/testsuite-46.sh

index c3e57cec95cac4dc4d034acf067f2aac69183d47..d0bedc63d5e2c6737ca494859bb79ca7448f1652 100755 (executable)
@@ -153,20 +153,13 @@ if ! systemd-detect-virt -cq ; then
     inspect test-user2
 fi
 
-wait_for_state test-user inactive
 PASSWORD=xEhErW0ndafV4s homectl with test-user -- test ! -f /home/test-user/xyz
-wait_for_state test-user inactive
 PASSWORD=xEhErW0ndafV4s homectl with test-user -- test -f /home/test-user/xyz \
     && { echo 'unexpected success'; exit 1; }
-wait_for_state test-user inactive
 PASSWORD=xEhErW0ndafV4s homectl with test-user -- touch /home/test-user/xyz
-wait_for_state test-user inactive
 PASSWORD=xEhErW0ndafV4s homectl with test-user -- test -f /home/test-user/xyz
-wait_for_state test-user inactive
 PASSWORD=xEhErW0ndafV4s homectl with test-user -- rm /home/test-user/xyz
-wait_for_state test-user inactive
 PASSWORD=xEhErW0ndafV4s homectl with test-user -- test ! -f /home/test-user/xyz
-wait_for_state test-user inactive
 PASSWORD=xEhErW0ndafV4s homectl with test-user -- test -f /home/test-user/xyz \
     && { echo 'unexpected success'; exit 1; }