summaryrefslogtreecommitdiff
path: root/corebinutils/sh/tests/execution/set-x3.0
blob: 11f79ea5fcb9810e44036af0eec1c362c3ffa55d (plain)
1
2
3
4
5
6
7
8

key='must contain this'
PS4='$key+ '
{ r=`set -x; { :; } 2>&1 >/dev/null`; } 2>/dev/null
case $r in
*"$key"*) true ;;
*) false ;;
esac