]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-46-HOMED: remove unnecessary users
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 29 Jul 2025 03:29:12 +0000 (12:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 29 Jul 2025 03:29:47 +0000 (12:29 +0900)
Workaround for issue #38240.

test/units/TEST-46-HOMED.sh

index 2c0dbd22a9a8243331577f6f4be8f6b188bf0aed..c52178dab1f42ad628458c673ac4e547a93db386 100755 (executable)
@@ -632,6 +632,7 @@ EOF
         homedsshtest@localhost env
 
     wait_for_state homedsshtest inactive
+    homectl remove homedsshtest
 fi
 
 NEWPASSWORD=hunter4711 homectl create aliastest --storage=directory --alias=aliastest2 --alias=aliastest3 --realm=myrealm
@@ -657,6 +658,8 @@ getent passwd aliastest@myrealm
 getent passwd aliastest2@myrealm
 getent passwd aliastest3@myrealm
 
+homectl remove aliastest
+
 NEWPASSWORD=quux homectl create tmpfsquota --storage=subvolume --dev-shm-limit=50K --tmp-limit=50K -P
 for p in /dev/shm /tmp; do
     if findmnt -n -o options "$p" | grep -q usrquota; then