summaryrefslogtreecommitdiff
path: root/tests/generated-tests/pseudoar.2.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generated-tests/pseudoar.2.test')
-rwxr-xr-xtests/generated-tests/pseudoar.2.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/generated-tests/pseudoar.2.test b/tests/generated-tests/pseudoar.2.test
new file mode 100755
index 00000000..b8418771
--- /dev/null
+++ b/tests/generated-tests/pseudoar.2.test
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# generated-tests/pseudoar.2.test is part of the GNU m4 testsuite
+# generated from example in ../doc/m4.texinfo line 1108
+
+. ${srcdir}/defs
+
+cat <<\EOF >in
+define(`echo', `$*')
+echo(arg1, arg2, arg3 , arg4)
+EOF
+
+cat <<\EOF >ok
+
+arg1,arg2,arg3 ,arg4
+EOF
+
+$M4 -d in >out
+
+$CMP -s out ok
+