summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/case1.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-misc/case1.tests')
-rwxr-xr-xshell/hush_test/hush-misc/case1.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/case1.tests b/shell/hush_test/hush-misc/case1.tests
index 15f60f3..0174893 100755
--- a/shell/hush_test/hush-misc/case1.tests
+++ b/shell/hush_test/hush-misc/case1.tests
@@ -1,5 +1,13 @@
case w in a) echo SKIP;; w) echo OK_1;; w) echo WRONG;; esac
+case w in
+ a) echo SKIP;;
+ w)echo OK_1 ;;
+ w)
+ echo WRONG
+ ;;
+esac
+
t=w
case $t in a) echo SKIP;; w) echo OK_21;; w) echo WRONG;; esac;
case "$t" in a) echo SKIP;; w) echo OK_22;; w) echo WRONG;; esac;