xref: /freebsd/bin/sh/tests/execution/set-x4.0 (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1# $FreeBSD$
2
3key=`printf '\r\t\001\200\300'`
4r=`{ set -x; : "$key"; } 2>&1 >/dev/null`
5case $r in
6*[![:print:]]*) echo fail; exit 3
7esac
8