freebsd-skq/bin/sh/tests/execution/set-x1.0

9 lines
142 B
Plaintext
Raw Normal View History

# $FreeBSD$
key='must_contain_this'
{ r=`set -x; { : "$key"; } 2>&1 >/dev/null`; } 2>/dev/null
case $r in
*"$key"*) true ;;
*) false ;;
esac