aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/builtins/case20.0
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/sh/tests/builtins/case20.0')
-rw-r--r--shell_cmds/sh/tests/builtins/case20.09
1 files changed, 9 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/builtins/case20.0 b/shell_cmds/sh/tests/builtins/case20.0
new file mode 100644
index 0000000..bd91e5b
--- /dev/null
+++ b/shell_cmds/sh/tests/builtins/case20.0
@@ -0,0 +1,9 @@
+# $FreeBSD: head/bin/sh/tests/builtins/case20.0 287148 2015-08-25 21:55:15Z jilles $
+
+# Shells do not agree about what this pattern should match, but it is
+# certain that it must not crash and the missing close bracket must not
+# be simply ignored.
+
+case B in
+[[:alpha:]) echo bad ;;
+esac