]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/execution/set-x2.0
56d54e38d2514d60e0de775e55d9e549002c1afd
[apple/shell_cmds.git] / sh / tests / 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