xref: /freebsd/bin/sh/tests/builtins/case1.0 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1f()
2{
3	false
4	case $1 in
5	foo) true ;;
6	bar) false ;;
7	esac
8}
9
10f foo || exit 1
11f bar && exit 1
12f quux || exit 1
13