summaryrefslogtreecommitdiff
path: root/tests/id/uid.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/id/uid.sh')
-rwxr-xr-xtests/id/uid.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/id/uid.sh b/tests/id/uid.sh
index c0766b321..e7a838586 100755
--- a/tests/id/uid.sh
+++ b/tests/id/uid.sh
@@ -22,7 +22,7 @@ uid=$(id -u) || fail=1
user=$(id -nu) || fail=1
# Ensure the empty user spec is discarded
-id '' && fail=1
+returns_ 1 id '' || fail=1
for mode in '' '-G' '-g'; do
id $mode $user > user_out || fail=1 # lookup name for comparison