blob: b8e8d9b96f573218de8f94f7c189eeded7c3dba6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#$FreeBSD: head/bin/sh/tests/builtins/case1.0 172440 2007-10-04 16:14:48Z stefanf $
f()
{
false
case $1 in
foo) true ;;
bar) false ;;
esac
}
f foo || exit 1
f bar && exit 1
f quux || exit 1
|