xref: /freebsd/bin/sh/tests/execution/set-x4.0 (revision a812392203d7c4c3f0db9d8a0f3391374c49c71f)
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