summaryrefslogtreecommitdiff
path: root/tests/options.at
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-05-28 22:08:44 +0000
committerEric Blake <ebb9@byu.net>2007-10-06 07:08:34 -0600
commit5cf38c3f50ff7aa62e3951276ded232069d5f400 (patch)
treec7e55a786efb1eb47a90414c69ecfa83e2ba2364 /tests/options.at
parent68e5fa96a5a8965b49141f877a4d162f7b0a5a52 (diff)
downloadm4-5cf38c3f50ff7aa62e3951276ded232069d5f400.tar.gz
* tests/options.at (--syncoutput): Add xfailed test.
Diffstat (limited to 'tests/options.at')
-rw-r--r--tests/options.at14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/options.at b/tests/options.at
index 5c8cf367..1e0d127b 100644
--- a/tests/options.at
+++ b/tests/options.at
@@ -759,6 +759,20 @@ hi
hi
]])
+dnl synclines should always start at the beginning of a line.
+dnl this does not (yet) happen reliably when diversions do not
+dnl always end in newline
+AT_XFAIL_IF([:])
+AT_DATA([in.m4], [[divert(2)2divert(1)1
+dnl
+undivert
+]])
+
+AT_CHECK_M4([-s in.m4], [0], [[1
+#line 1 "stdin"
+2
+]])
+
AT_CLEANUP