summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-08-29 20:53:24 +0000
committerjilles <jilles@FreeBSD.org>2010-08-29 20:53:24 +0000
commit662ba753ab5d09fc8bf345605c99cc585dfab8c2 (patch)
tree99c3ae98bd31bf3af8a6bc1d3905e4eecbc8a58f /tools/regression
parent2e80e3aea92f78de482fb73c2b521cf5285fbd5c (diff)
downloadFreeBSD-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.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/bin/sh/builtins/command4.02
-rw-r--r--tools/regression/bin/sh/builtins/command4.1272
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
OpenPOWER on IntegriCloud