There were changes in the exit codes of gpasswd.

This commit is contained in:
nekral-guest
2009-05-09 22:32:10 +00:00
parent ba569f80b6
commit 5324b00638
5 changed files with 5 additions and 5 deletions
@@ -23,7 +23,7 @@ gpasswd -r usersss 2>tmp/gpasswd.err && exit 1 || {
echo "OK"
echo -n "Check returned status ($status)..."
test "$status" = "1"
test "$status" = "3" # E_BAD_ARG
echo "OK"
echo "gpasswd reported:"
@@ -23,7 +23,7 @@ gpasswd -a foooo users 2>tmp/gpasswd.err && exit 1 || {
echo "OK"
echo -n "Check returned status ($status)..."
test "$status" = "1"
test "$status" = "3" # E_BAD_ARG
echo "OK"
echo "gpasswd reported:"
@@ -23,7 +23,7 @@ gpasswd -M root,foooo,bin users 2>tmp/gpasswd.err && exit 1 || {
echo "OK"
echo -n "Check returned status ($status)..."
test "$status" = "1"
test "$status" = "3" # E_BAD_ARG
echo "OK"
echo "gpasswd reported:"
@@ -26,7 +26,7 @@ gpasswd -A foo users 2>tmp/gpasswd.err && exit 1 || {
echo "OK"
echo -n "Check returned status ($status)..."
test "$status" = "2"
test "$status" = "17" # E_GSHADOW_NOTFOUND
echo "OK"
echo "gpasswd reported:"
@@ -23,7 +23,7 @@ gpasswd -d foo users 2>tmp/gpasswd.err && exit 1 || {
echo "OK"
echo -n "Check returned status ($status)..."
test "$status" = "1"
test "$status" = "3" # E_BAD_ARG
echo "OK"
echo "gpasswd reported:"