]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/case1.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / case1.0
CommitLineData
deb63bfb 1#$FreeBSD: head/bin/sh/tests/builtins/case1.0 172440 2007-10-04 16:14:48Z stefanf $
71aad674
A
2f()
3{
4 false
5 case $1 in
6 foo) true ;;
7 bar) false ;;
8 esac
9}
10
11f foo || exit 1
12f bar && exit 1
13f quux || exit 1