blob: 6e2b939f6586aea646d2f5c0d15a3f81fa6cfa5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# $FreeBSD: releng/12.0/bin/sh/tests/execution/set-x2.0 222882 2011-06-08 21:58:19Z jilles $
key='must contain this'
PS4="$key+ "
{ r=`set -x; { :; } 2>&1 >/dev/null`; } 2>/dev/null
case $r in
*"$key"*) true ;;
*) false ;;
esac
|