]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/execution/set-x3.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / execution / set-x3.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/execution/set-x3.0 222907 2011-06-09 23:12:23Z jilles $
71aad674
A
2
3key='must contain this'
4PS4='$key+ '
5{ r=`set -x; { :; } 2>&1 >/dev/null`; } 2>/dev/null
6case $r in
7*"$key"*) true ;;
8*) false ;;
9esac