mneumann's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
parameters
/
env1.0
1
# $FreeBSD: src/tools/regression/bin/sh/parameters/env1.0,v 1.1 2011/06/10 22:42:00 jilles Exp $
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