aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/tests/builtins/case18.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/tests/builtins/case18.0')
-rw-r--r--bin/sh/tests/builtins/case18.07
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/sh/tests/builtins/case18.0 b/bin/sh/tests/builtins/case18.0
new file mode 100644
index 000000000000..470253f622ea
--- /dev/null
+++ b/bin/sh/tests/builtins/case18.0
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+case x$(false) in
+x) ;&
+y) [ $? != 0 ] ;;
+z) false ;;
+esac