summaryrefslogtreecommitdiff
path: root/tests/generated-tests/translit.1.test
blob: da6710c7da122d9d7babbc6e4817a11d15159470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# generated-tests/translit.1.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2926

. ${srcdir}/defs

cat <<\EOF >in
translit(`GNUs not Unix', `A-Z')
translit(`GNUs not Unix', `a-z', `A-Z')
translit(`GNUs not Unix', `A-Z', `z-a')
EOF

cat <<\EOF >ok
s not nix
GNUS NOT UNIX
tmfs not fnix
EOF

$M4 -d in >out

$CMP -s out ok