mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
Revert "test: wait for user inactive"
As it does not work, and the test still randomly fails.
This reverts commit de27f4c8b8.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user