From f173607520e0455d267a7a4100e5018f30000c56 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 31 Jul 2008 10:09:26 +0000 Subject: hush: fix "case ... in word)..." --- shell/hush_test/hush-misc/case1.right | 1 + shell/hush_test/hush-misc/case1.tests | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'shell/hush_test/hush-misc') diff --git a/shell/hush_test/hush-misc/case1.right b/shell/hush_test/hush-misc/case1.right index 9b88658af..e9e371ac0 100644 --- a/shell/hush_test/hush-misc/case1.right +++ b/shell/hush_test/hush-misc/case1.right @@ -1,4 +1,5 @@ OK_1 +OK_1 OK_21 OK_22 OK_23 diff --git a/shell/hush_test/hush-misc/case1.tests b/shell/hush_test/hush-misc/case1.tests index 15f60f3a6..0174893ec 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; -- cgit v1.2.3