aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/tests/execution/set-x2.0
blob: a1b8d6d37f7984b2096daae01977e4ce0e154312 (plain) (blame)
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