diff options
Diffstat (limited to 'tests/gentest/patsubst.2.test')
-rwxr-xr-x | tests/gentest/patsubst.2.test | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/gentest/patsubst.2.test b/tests/gentest/patsubst.2.test deleted file mode 100755 index b31e4d80..00000000 --- a/tests/gentest/patsubst.2.test +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# gentest/patsubst.2.test is part of the GNU m4 testsuite -# generated from example in ../doc/m4.texinfo line 3000 - -. ${srcdir}/defs - -cat <<\EOF >in -define(`upcase', `translit(`$*', `a-z', `A-Z')')dnl -define(`downcase', `translit(`$*', `A-Z', `a-z')')dnl -define(`capitalize1', - `regexp(`$1', `^\(\w\)\(\w*\)', `upcase(`\1')`'downcase(`\2')')')dnl -define(`capitalize', - `patsubst(`$1', `\w+', `capitalize1(`\&')')')dnl -capitalize(`GNUs not Unix') -EOF - -cat <<\EOF >ok -Gnus Not Unix -EOF - -$M4 -d in >out - -$CMP -s out ok - |