summaryrefslogtreecommitdiff
path: root/tests/generated-tests/symbols.1.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generated-tests/symbols.1.test')
-rwxr-xr-xtests/generated-tests/symbols.1.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/generated-tests/symbols.1.test b/tests/generated-tests/symbols.1.test
new file mode 100755
index 00000000..4414ee13
--- /dev/null
+++ b/tests/generated-tests/symbols.1.test
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# generated-tests/symbols.1.test is part of the GNU m4 testsuite
+# generated from example in ../doc/m4.texinfo line 1442
+
+. ${srcdir}/defs
+
+cat <<\EOF >in
+symbols(`ifndef', `ifdef', `define', `undef')
+EOF
+
+cat <<\EOF >ok
+define,ifdef
+EOF
+
+$M4 -d in >out
+
+$CMP -s out ok
+