projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
nrelease - fix/improve livecd
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
parameters
/
env1.0
1
# $FreeBSD: head/bin/sh/tests/parameters/env1.0 222957 2011-06-10 22:42:00Z jilles $
2
3
export key='must contain this'
4
unset x
5
r=$(ENV="\${x?\$key}" ${SH} -i +m 2>&1 >/dev/null <<\EOF
6
exit 0
7
EOF
8
) && case $r in
9
*"$key"*) true ;;
10
*) false ;;
11
esac