aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-28 01:35:42 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-28 01:35:42 +0300
commitafc50684cdb38815573fdff0f4fff47cc4eb00a8 (patch)
tree9a7adf6bf02f69218f144de7ddbc9c682fab06e2 /tests/testsuite.at
parentdfa4394c1df45755de955260b1d7412c673a7ca0 (diff)
downloadsciteco-afc50684cdb38815573fdff0f4fff47cc4eb00a8.tar.gz
=/==/===: 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.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at2
1 files changed, 2 insertions, 0 deletions
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 <stdout` -ne 1], 0, ignore, ignore)
# Will print a decimal, octal and 2 hexadecimal numbers.
TE_CHECK_CMDLINE([[2<255===>]], 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])