summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/case3.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-misc/case3.tests')
-rwxr-xr-xshell/hush_test/hush-misc/case3.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/case3.tests b/shell/hush_test/hush-misc/case3.tests
new file mode 100755
index 000000000..63b9dfd99
--- /dev/null
+++ b/shell/hush_test/hush-misc/case3.tests
@@ -0,0 +1,8 @@
+if=if
+case if in
+if) echo "Keyword-like word may be in pattern";;
+fi) echo "Not reached";;
+# esac) echo "Not reached";; # not accepted by bash 5.2.15
+do) echo "Not reached"
+esac
+echo Ok:$?