summaryrefslogtreecommitdiff
path: root/tests/priv-check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/priv-check')
-rw-r--r--tests/priv-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/priv-check b/tests/priv-check
index abb336023..ba3f26c86 100644
--- a/tests/priv-check
+++ b/tests/priv-check
@@ -18,7 +18,7 @@ test $? = 0 || {
# Make sure it gives valid output.
case $my_uid in
- *[^0-9]*)
+ *[!0-9]*)
echo "$0: invalid output (\`$my_uid') from \`id -u'" 1>&2
(exit 1); exit
;;