polachok's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
sh: Sync with FreeBSD:
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
builtins
/
case1.0
1
#$FreeBSD: head/tools/regression/bin/sh/builtins/case1.0 172440 2007-10-04 16:14:48Z stefanf $
2
f()
3
{
4
false
5
case $1 in
6
foo) true ;;
7
bar) false ;;
8
esac
9
}
10
11
f foo || exit 1
12
f bar && exit 1
13
f quux || exit 1