X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/4ce4dd35946ea92c7f50aaaf4cc370ef6042eaf0..0ffa3da080900dee7626815e913a4f4822891bda:/tests/general.at diff --git a/tests/general.at b/tests/general.at index 899c7e4..5141902 100644 --- a/tests/general.at +++ b/tests/general.at @@ -97,7 +97,7 @@ AT_SETUP([cdecl99 command error messages]) # This will only get the start of progname if it includes spaces; # so we won't worry too hard about the exact format later. AT_CHECK([LC_ALL=C cdecl99 --help], [0], [stdout]) -progname=`$AWK 'NR == 1 { print $2; }' stdout` +progname=`$AWK 'NR == 1 { print $2; }' stdout`dnl' # every line is erroneous AT_DATA([input], @@ -117,3 +117,26 @@ AT_CHECK([LC_ALL=C cdecl99 --file=input || exit 42], [42], [], [stderr]) AT_CHECK([$AWK -v progname="$progname" -f check.awk stderr]) AT_CLEANUP + +AT_SETUP([cdecl99 invalid character error messages]) + +$AWK -f- >test.dat