diff options
author | jilles <jilles@FreeBSD.org> | 2010-08-29 20:53:24 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-08-29 20:53:24 +0000 |
commit | 662ba753ab5d09fc8bf345605c99cc585dfab8c2 (patch) | |
tree | 99c3ae98bd31bf3af8a6bc1d3905e4eecbc8a58f | |
parent | 2e80e3aea92f78de482fb73c2b521cf5285fbd5c (diff) | |
download | FreeBSD-src-662ba753ab5d09fc8bf345605c99cc585dfab8c2.zip FreeBSD-src-662ba753ab5d09fc8bf345605c99cc585dfab8c2.tar.gz |
sh: Weaken builtins/command4 test to only require a nonzero exit status.
This matches what is in POSIX; various other shells use different exit
statuses.
Note that it is still required that there be no output.
-rw-r--r-- | tools/regression/bin/sh/builtins/command4.0 | 2 | ||||
-rw-r--r-- | tools/regression/bin/sh/builtins/command4.127 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/bin/sh/builtins/command4.0 b/tools/regression/bin/sh/builtins/command4.0 new file mode 100644 index 0000000..3e49613 --- /dev/null +++ b/tools/regression/bin/sh/builtins/command4.0 @@ -0,0 +1,2 @@ +# $FreeBSD$ +! command -v nonexisting diff --git a/tools/regression/bin/sh/builtins/command4.127 b/tools/regression/bin/sh/builtins/command4.127 deleted file mode 100644 index c66f60f..0000000 --- a/tools/regression/bin/sh/builtins/command4.127 +++ /dev/null @@ -1,2 +0,0 @@ -# $FreeBSD$ -command -v nonexisting |