jilles 412e06f616 sh: Make sure output suitable as shell input is also printable.
Commands like 'export -p', 'set' and 'trap', and tracing enabled via 'set
-x' generate output suitable as shell input by adding quotes as necessary.

If there are control characters other than newline or invalid UTF-8
sequences, use $'...' and \OOO to display them safely.

The resulting output is not parsable by a strict POSIX.1-2008 shell but sh
from FreeBSD 9.0 and newer and many other shells can parse it.
2014-12-14 16:26:19 +00:00

57 lines
996 B
Makefile

# $FreeBSD$
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
ATF_TESTS_SH= functional_test
FILESDIR= ${TESTSDIR}
FILES= bg1.0
FILES+= bg2.0
FILES+= bg3.0
FILES+= bg4.0
FILES+= bg5.0
FILES+= bg6.0 bg6.0.stdout
FILES+= bg7.0
FILES+= bg8.0
FILES+= bg9.0
FILES+= bg10.0 bg10.0.stdout
FILES+= fork1.0
FILES+= fork2.0
FILES+= fork3.0
FILES+= func1.0
FILES+= func2.0
FILES+= func3.0
FILES+= hash1.0
FILES+= int-cmd1.0
FILES+= killed1.0
FILES+= killed2.0
FILES+= not1.0
FILES+= not2.0
FILES+= path1.0
FILES+= redir1.0
FILES+= redir2.0
FILES+= redir3.0
FILES+= redir4.0
FILES+= redir5.0
FILES+= redir6.0
FILES+= redir7.0
FILES+= set-n1.0
FILES+= set-n2.0
FILES+= set-n3.0
FILES+= set-n4.0
FILES+= set-x1.0
FILES+= set-x2.0
FILES+= set-x3.0
FILES+= set-x4.0
FILES+= shellproc1.0
FILES+= subshell1.0 subshell1.0.stdout
FILES+= subshell2.0
FILES+= subshell3.0
FILES+= subshell4.0
FILES+= unknown1.0
FILES+= var-assign1.0
.include <bsd.test.mk>