: etsh/tsh - " Force sh(1), csh(1), and other shells to exit w/ error! " <'' ;;;
:
: "  The author of this file, J.A. Neitzel <jan (at) etsh (dot) io>,  "
: "  hereby grants it to the public domain.                           "
:
: "  From:  https://etsh.io/regression_tests  "
:

:
: test05 - syntax error
:

if ! \( X$1 = Xetsh -o X$1 = Xtsh \) -o X$2 != X \
	if { fd2 -e echo 'usage: {etsh | tsh} test05 {etsh | tsh}' } \
		if { exit } if A = B

sed 's,@SH_TO_TEST@,'$1',g' <syntax_error.in >syntax_error

echo Begin ...
$1 syntax_error
echo End .
