diff --git a/tests/grouptools/gpasswd/43_gpasswd_-r_locked_group/gpasswd.test b/tests/grouptools/gpasswd/43_gpasswd_-r_locked_group/gpasswd.test index d3d23069..ce22e04e 100755 --- a/tests/grouptools/gpasswd/43_gpasswd_-r_locked_group/gpasswd.test +++ b/tests/grouptools/gpasswd/43_gpasswd_-r_locked_group/gpasswd.test @@ -20,7 +20,7 @@ echo -n "Create lock file for /etc/group..." touch /etc/group.lock echo "done" -echo -n "Remove the password of group users (usermod -r users)..." +echo -n "Remove the password of group users (gpasswd -r users)..." gpasswd -r users 2>tmp/gpasswd.err && exit || { status=$? } @@ -32,7 +32,7 @@ echo -n "Check returned status ($status)..." test "$status" = "1" echo "OK" -echo "usermod reported:" +echo "gpasswd reported:" echo "=======================================================================" cat tmp/gpasswd.err echo "=======================================================================" diff --git a/tests/grouptools/gpasswd/44_gpasswd_-r_locked_gshadow/gpasswd.test b/tests/grouptools/gpasswd/44_gpasswd_-r_locked_gshadow/gpasswd.test index b3ac4706..e9bec792 100755 --- a/tests/grouptools/gpasswd/44_gpasswd_-r_locked_gshadow/gpasswd.test +++ b/tests/grouptools/gpasswd/44_gpasswd_-r_locked_gshadow/gpasswd.test @@ -20,7 +20,7 @@ echo -n "Create lock file for /etc/gshadow..." touch /etc/gshadow.lock echo "done" -echo -n "Remove the password of group users (usermod -r users)..." +echo -n "Remove the password of group users (gpasswd -r users)..." gpasswd -r users 2>tmp/gpasswd.err && exit || { status=$? } @@ -32,7 +32,7 @@ echo -n "Check returned status ($status)..." test "$status" = "1" echo "OK" -echo "usermod reported:" +echo "gpasswd reported:" echo "=======================================================================" cat tmp/gpasswd.err echo "=======================================================================" diff --git a/tests/grouptools/gpasswd/45_gpasswd_-r_unknown_group/gpasswd.test b/tests/grouptools/gpasswd/45_gpasswd_-r_unknown_group/gpasswd.test index ad500573..83da922b 100755 --- a/tests/grouptools/gpasswd/45_gpasswd_-r_unknown_group/gpasswd.test +++ b/tests/grouptools/gpasswd/45_gpasswd_-r_unknown_group/gpasswd.test @@ -16,7 +16,7 @@ trap 'log_status "$0" "FAILURE"; restore_config' 0 change_config -echo -n "Remove the password of unknown group usersss (usermod -r usersss)..." +echo -n "Remove the password of unknown group usersss (gpasswd -r usersss)..." gpasswd -r usersss 2>tmp/gpasswd.err && exit || { status=$? } @@ -26,7 +26,7 @@ echo -n "Check returned status ($status)..." test "$status" = "1" echo "OK" -echo "usermod reported:" +echo "gpasswd reported:" echo "=======================================================================" cat tmp/gpasswd.err echo "=======================================================================" diff --git a/tests/grouptools/gpasswd/46_gpasswd_-a_unknown_user/gpasswd.test b/tests/grouptools/gpasswd/46_gpasswd_-a_unknown_user/gpasswd.test index 40e50dc7..c7db71c2 100755 --- a/tests/grouptools/gpasswd/46_gpasswd_-a_unknown_user/gpasswd.test +++ b/tests/grouptools/gpasswd/46_gpasswd_-a_unknown_user/gpasswd.test @@ -16,7 +16,7 @@ trap 'log_status "$0" "FAILURE"; restore_config' 0 change_config -echo -n "Add user foooo to group users (usermod -a foooo users)..." +echo -n "Add user foooo to group users (gpasswd -a foooo users)..." gpasswd -a foooo users 2>tmp/gpasswd.err && exit || { status=$? } @@ -26,7 +26,7 @@ echo -n "Check returned status ($status)..." test "$status" = "1" echo "OK" -echo "usermod reported:" +echo "gpasswd reported:" echo "=======================================================================" cat tmp/gpasswd.err echo "=======================================================================" diff --git a/tests/grouptools/gpasswd/47_gpasswd_-M_unknown_user/gpasswd.test b/tests/grouptools/gpasswd/47_gpasswd_-M_unknown_user/gpasswd.test index 0a7d30ff..2b62aa48 100755 --- a/tests/grouptools/gpasswd/47_gpasswd_-M_unknown_user/gpasswd.test +++ b/tests/grouptools/gpasswd/47_gpasswd_-M_unknown_user/gpasswd.test @@ -16,7 +16,7 @@ trap 'log_status "$0" "FAILURE"; restore_config' 0 change_config -echo -n "Set members of users to root,foooo,bin (usermod -M root,foooo,bin users)..." +echo -n "Set members of users to root,foooo,bin (gpasswd -M root,foooo,bin users)..." gpasswd -M root,foooo,bin users 2>tmp/gpasswd.err && exit || { status=$? } @@ -26,7 +26,7 @@ echo -n "Check returned status ($status)..." test "$status" = "1" echo "OK" -echo "usermod reported:" +echo "gpasswd reported:" echo "=======================================================================" cat tmp/gpasswd.err echo "=======================================================================" diff --git a/tests/grouptools/gpasswd/54_gpasswd_change_admin_list-no_shadow_group/gpasswd.test b/tests/grouptools/gpasswd/54_gpasswd_change_admin_list-no_shadow_group/gpasswd.test index 71e069d2..3bcf2920 100755 --- a/tests/grouptools/gpasswd/54_gpasswd_change_admin_list-no_shadow_group/gpasswd.test +++ b/tests/grouptools/gpasswd/54_gpasswd_change_admin_list-no_shadow_group/gpasswd.test @@ -16,7 +16,7 @@ trap 'log_status "$0" "FAILURE"; restore_config' 0 change_config -echo -n "Set the admin list of users to foo (usermod -A foo users)..." +echo -n "Set the admin list of users to foo (gpasswd -A foo users)..." gpasswd -A foo users echo "OK" diff --git a/tests/grouptools/gpasswd/55_gpasswd_change_admin_list-no_gshadow_file/gpasswd.test b/tests/grouptools/gpasswd/55_gpasswd_change_admin_list-no_gshadow_file/gpasswd.test index 91bcfb28..cc366cd9 100755 --- a/tests/grouptools/gpasswd/55_gpasswd_change_admin_list-no_gshadow_file/gpasswd.test +++ b/tests/grouptools/gpasswd/55_gpasswd_change_admin_list-no_gshadow_file/gpasswd.test @@ -19,7 +19,7 @@ change_config echo "remove the gshadow file" rm -f /etc/gshadow -echo -n "Set the lists of admins to foo (usermod -A foo users)..." +echo -n "Set the lists of admins to foo (gpasswd -A foo users)..." gpasswd -A foo users 2>tmp/gpasswd.err && exit || { status=$? } @@ -29,7 +29,7 @@ echo -n "Check returned status ($status)..." test "$status" = "2" echo "OK" -echo "usermod reported:" +echo "gpasswd reported:" echo "=======================================================================" cat tmp/gpasswd.err echo "=======================================================================" diff --git a/tests/grouptools/gpasswd/57_gpasswd_remove_user_from_group-not_member/gpasswd.test b/tests/grouptools/gpasswd/57_gpasswd_remove_user_from_group-not_member/gpasswd.test index b2a28e73..fe9d61c3 100755 --- a/tests/grouptools/gpasswd/57_gpasswd_remove_user_from_group-not_member/gpasswd.test +++ b/tests/grouptools/gpasswd/57_gpasswd_remove_user_from_group-not_member/gpasswd.test @@ -26,7 +26,7 @@ echo -n "Check returned status ($status)..." test "$status" = "1" echo "OK" -echo "usermod reported:" +echo "gpasswd reported:" echo "=======================================================================" cat tmp/gpasswd.err echo "======================================================================="