diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-27 20:04:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-27 20:04:48 +0000 |
commit | a458a6984e9f90d11792cb1aa839256b94172eb2 (patch) | |
tree | 4fd900f6c2ac4244e97d7bea35109cb213e2b064 /tests/priv-check | |
parent | d529228c881e9a1d49b1f0c419d62ec12c553bc5 (diff) | |
download | coreutils-a458a6984e9f90d11792cb1aa839256b94172eb2.tar.xz |
(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 `^'.
Diffstat (limited to 'tests/priv-check')
-rw-r--r-- | tests/priv-check | 2 |
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 ;; |