summaryrefslogtreecommitdiff
path: root/tests/loops.2.test
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@raspberryginger.com>2000-02-17 03:03:19 +0000
committerEric Blake <ebb9@byu.net>2007-09-21 07:04:48 -0600
commitf82834e3653b3eefd645a409f18cd38dbcbad1c2 (patch)
treeac5cdf3fb62894b98e05e0e9e0888f3503f6f635 /tests/loops.2.test
parentbd11691d6520f7539e7ed2efdf75f266719e27e9 (diff)
downloadm4-1.4.tar.gz
Import of m4-1.4m4-1.4
Diffstat (limited to 'tests/loops.2.test')
-rwxr-xr-xtests/loops.2.test26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/loops.2.test b/tests/loops.2.test
deleted file mode 100755
index 35e4db17..00000000
--- a/tests/loops.2.test
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# loops.2.test is part of the GNU m4 testsuite
-# generated from example in ../doc/m4.texinfo line 1547
-
-. ${srcdir}/defs
-
-cat <<\EOF >in
-define(`reverse', `ifelse($#, 0, , $#, 1, ``$1'',
- `reverse(shift($@)), `$1'')')
-reverse
-reverse(foo)
-reverse(foo, bar, gnats, and gnus)
-EOF
-
-cat <<\EOF >ok
-
-
-foo
-and gnus, gnats, bar, foo
-EOF
-
-$M4 -d in >out
-
-$CMP -s out ok
-