]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/case.tests
Imported from ../bash-4.0-rc1.tar.gz.
[thirdparty/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