From: Jim Meyering Date: Sun, 27 Jul 2003 20:04:48 +0000 (+0000) Subject: (my_uid): Use `!', not `^' in case pattern `[!0-9]', X-Git-Tag: v5.0.90~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a458a6984e9f90d11792cb1aa839256b94172eb2;p=thirdparty%2Fcoreutils.git (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 `^'. --- diff --git a/tests/priv-check b/tests/priv-check index abb3360236..ba3f26c860 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 ;;