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