X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/4251b4bd0087752ceddbf95a6a8c928ab2207844..68270520285b0dc869565573fce3b02e860ffa7f:/tests/general.at diff --git a/tests/general.at b/tests/general.at index 35c9dbb..b0806a3 100644 --- a/tests/general.at +++ b/tests/general.at @@ -104,6 +104,7 @@ AT_DATA([input], [[explain int a b c simplify int a b c declare a as b c +bad command ]]) AT_DATA([check.awk], @@ -116,6 +117,14 @@ END { exit(status); } AT_CHECK([LC_ALL=C cdecl99 --file=input || exit 42], [42], [], [stderr]) AT_CHECK([$AWK -v progname="$progname" -f check.awk stderr]) +exec 3