7c501658fbd5c6b7f7e53c65ee0a3325259f92f3
[platform/upstream/bash.git] / tests / case.tests
1 case foo in
2 bar)    echo skip ;;
3 foo)    echo fallthrough ;&
4 bax)    echo to here ;&
5 qux)    echo and here;;
6 fop)    echo but not here;;
7 esac
8
9 case foobar in
10 bar)    echo skip ;;
11 foo*)   echo retest ;;&
12 *bar)   echo and match ;;&
13 qux)    echo but not this ;;
14 esac
15
16 case a in
17 a)      echo no more clauses;&
18 esac