]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - tools/regression/bin/sh/execution/set-x1.0
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / tools / regression / bin / sh / execution / set-x1.0
1 # $FreeBSD$
2
3 key='must_contain_this'
4 { r=`set -x; { : "$key"; } 2>&1 >/dev/null`; } 2>/dev/null
5 case $r in
6 *"$key"*) true ;;
7 *) false ;;
8 esac