aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-31 17:19:07 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-31 17:19:07 +0300
commitca70c9061146386ce0986631cd7fc9209a935a34 (patch)
tree31bdd0ab4f5bec8eb5aadcc75332960b0e8d5a22 /tests/testsuite.at
parent630a6f3cc2438cbc966e883a2106fcfadb59cad3 (diff)
downloadsciteco-ca70c9061146386ce0986631cd7fc9209a935a34.tar.gz
added -v/--version and <EO> command
* DEC TECO had an <EO> command. In contrast to DEC TECO's implementation, the value reported by <EO> encodes a major.minor.micro semantic version.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 012ee05..78e6f48 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -360,6 +360,13 @@ AT_SETUP([Timestamps])
TE_CHECK([[::^HUa ::^H-Qa"<(0/0)']], 0, ignore, ignore)
AT_CLEANUP
+AT_SETUP([Program version])
+TE_CHECK([[EO=]], 0, stdout, ignore)
+# FIXME: The grep shouldn't be necessary if we run all tests with --quiet.
+AT_CHECK([[EO="`$GREP -v "^Info:" stdout`" && \
+ test $(($EO/10000)).$(($EO/100%100)).$(($EO%100)) = "$SCITECO_VERSION"]], 0, ignore, ignore)
+AT_CLEANUP
+
#
# Command-line editing.
#