aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/execution/set-x4.0
blob: 90dd59a235a050d6bf7d7b2a49d7db9797d1e8a6 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: head/bin/sh/tests/execution/set-x4.0 275766 2014-12-14 16:26:19Z jilles $

key=`printf '\r\t\001\200\300'`
r=`{ set -x; : "$key"; } 2>&1 >/dev/null`
case $r in
*[![:print:]]*) echo fail; exit 3
esac