From a458a6984e9f90d11792cb1aa839256b94172eb2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 Jul 2003 20:04:48 +0000 Subject: (my_uid): Use `!', not `^' in case pattern `[!0-9]', since /bin/sh of at least NetBSD 1.6 and OpenBSD 3.2 don't accept `^'. --- tests/priv-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- cgit v1.2.3-70-g09d2