xref: /freebsd/bin/sh/tests/builtins/case1.0 (revision d4eeb02986980bf33dd56c41ceb9fc5f180c0d47)
1#$FreeBSD$
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
14