[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/tests/freeze.at,v
From: |
Eric Blake |
Subject: |
Changes to m4/tests/freeze.at,v |
Date: |
Thu, 31 May 2007 13:26:43 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 07/05/31 13:26:40
Index: tests/freeze.at
===================================================================
RCS file: /sources/m4/m4/tests/freeze.at,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- tests/freeze.at 28 May 2007 20:10:02 -0000 1.11
+++ tests/freeze.at 31 May 2007 13:26:40 -0000 1.12
@@ -163,6 +163,12 @@
gnu
F7,7,3
builtinbuiltingnu
+# Text to negative diversion must not crash. Catches a regression
+# introduced 2007-05-28 and fixed 2007-05-31.
+D-1,5
+12345
+D0,0
+
# Testing escape sequences
T4,5
blah\t\477\040\X5C
@@ -188,6 +194,13 @@
'7 \
]])
+dnl We don't support anything larger than format 2; make sure of that...
+AT_DATA([bogus.m4f], [[V3
+]])
+AT_CHECK_M4([-R bogus.m4f], [63], [],
+[[m4: frozen file version 3 greater than max supported of 2
+]])
+
AT_CLEANUP