]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: don't provide password to deactivation
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Nov 2021 09:58:50 +0000 (10:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Nov 2021 17:19:02 +0000 (18:19 +0100)
deactivation of home areas should work without any password being
supplied. Let's hence not supply it, to ensure things work correctly.

test/units/testsuite-46.sh

index 1e83657c05b97e6ba7cfae5acfc933551dae41aa..1ca5f033022db6a16ee4dd892e5aaa96d689c3f7 100755 (executable)
@@ -69,7 +69,7 @@ inspect test-user
 PASSWORD=xEhErW0ndafV4s homectl activate test-user
 inspect test-user
 
-PASSWORD=xEhErW0ndafV4s homectl deactivate test-user
+homectl deactivate test-user
 inspect test-user
 
 PASSWORD=xEhErW0ndafV4s homectl update test-user --real-name="Offline test"
@@ -78,7 +78,7 @@ inspect test-user
 PASSWORD=xEhErW0ndafV4s homectl activate test-user
 inspect test-user
 
-PASSWORD=xEhErW0ndafV4s homectl deactivate test-user
+homectl deactivate test-user
 inspect test-user
 
 # Do some resize tests, but only if we run on real kernels, as quota inside of containers will fail
@@ -110,7 +110,7 @@ if ! systemd-detect-virt -cq ; then
     PASSWORD=xEhErW0ndafV4s homectl resize test-user 256M
     inspect test-user
 
-    PASSWORD=xEhErW0ndafV4s homectl deactivate test-user
+    homectl deactivate test-user
     inspect test-user
 fi