summary refs log tree commit diff
path: root/bin/cash/tests/execution/set-x3.0
blob: f10095db88cb47683229807b705b6c31cf0b512e (plain) (blame)
1
2
3
4
5
6
7
8
9
# $FreeBSD: releng/12.0/bin/sh/tests/execution/set-x3.0 222907 2011-06-09 23:12:23Z jilles $

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