diff options
Diffstat (limited to 'pw/tests/pw_usermod_test.sh')
-rwxr-xr-x | pw/tests/pw_usermod_test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pw/tests/pw_usermod_test.sh b/pw/tests/pw_usermod_test.sh index 6a13130..cf3622f 100755 --- a/pw/tests/pw_usermod_test.sh +++ b/pw/tests/pw_usermod_test.sh @@ -128,6 +128,9 @@ user_mod_nogroups_body() { atf_check -s exit:0 ${PW} usermod foo -G test3,test4 atf_check -s exit:0 -o inline:"test3\ntest4\n" \ awk -F\: '$4 == "foo" { print $1 }' ${HOME}/group + atf_check -s exit:0 ${PW} usermod foo -G "" + atf_check -s exit:0 -o empty \ + awk -F\: '$4 == "foo" { print $1 }' ${HOME}/group } atf_test_case user_mod_rename |