From afc50684cdb38815573fdff0f4fff47cc4eb00a8 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 28 Jul 2025 01:35:42 +0300 Subject: =/==/===: fixed detection of execution from the end of the command-line In particular, fixes the test case `3<255=>` which would print only one number in interactive mode. --- tests/testsuite.at | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/testsuite.at b/tests/testsuite.at index b8a7404..9f84a23 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -185,6 +185,8 @@ AT_FAIL_IF([test `wc -l ]], 0, stdout, ignore) AT_FAIL_IF([test `$GREP -v "^Info:" stdout | wc -l` -ne 4], 0, ignore, ignore) +TE_CHECK_CMDLINE([[3<255=>]], 0, stdout, ignore) +AT_FAIL_IF([test `$GREP -v "^Info:" stdout | wc -l` -ne 3], 0, ignore, ignore) AT_CLEANUP AT_SETUP([Printing strings]) -- cgit v1.2.3