m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10-zap-non-autotest.patch


From: Akim Demaille
Subject: 10-zap-non-autotest.patch
Date: Fri, 17 Aug 2001 13:48:05 +0200

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        Remove the non Autotest tests.

        * tests/other-tests/capitalize.test,
        * tests/other-tests/changeword.test,
        * tests/other-tests/comments.test, tests/other-tests/ddivert.test,
        * tests/other-tests/debug.test,
        * tests/other-tests/discard-comments.m4,
        * tests/other-tests/discard-comments.test,
        * tests/other-tests/esyscmd.test, tests/other-tests/exp.test,
        * tests/other-tests/foreach.test, tests/other-tests/forloop.test,
        * tests/other-tests/frozen.m4, tests/other-tests/fstab.test,
        * tests/other-tests/gmp.m4, tests/other-tests/gmp.test,
        * tests/other-tests/hanoi.test,
        * tests/other-tests/import-environment.m4,
        * tests/other-tests/import-environment.test,
        * tests/other-tests/include.test, tests/other-tests/indir.test,
        * tests/other-tests/iso8859.m4, tests/other-tests/iso8859.test,
        * tests/other-tests/misc.test, tests/other-tests/modfreeze.test,
        * tests/other-tests/modpath1.test, tests/other-tests/modpath2.test,
        * tests/other-tests/modpath3.test, tests/other-tests/modpath4.test,
        * tests/other-tests/modtest.test,
        * tests/other-tests/multiquotes.test,
        * tests/other-tests/patsubst.test, tests/other-tests/pushpop.test,
        * tests/other-tests/regexp.test, tests/other-tests/reverse.test,
        * tests/other-tests/shadow.test, tests/other-tests/stackovf.test,
        * tests/other-tests/sync-lines.m4,
        * tests/other-tests/sync-lines.test,
        * tests/other-tests/sysv-args.test, tests/other-tests/trace.test,
        * tests/other-tests/translit.test, tests/other-tests/undivert.test,
        * tests/other-tests/unfrozen.m4, tests/other-tests/unload.test,
        * tests/other-tests/wrap.test: Remove.

        * tests/run-test, tests/get-them: Remove.
        * tests/Makefile.am: Adjust.

Index: tests/Makefile.am
--- tests/Makefile.am Fri, 17 Aug 2001 12:14:20 +0200 akim
+++ tests/Makefile.am Fri, 17 Aug 2001 12:18:09 +0200 akim
@@ -1,5 +1,5 @@
 ## This file is part of GNU m4
-## Copyright 2000 Free Software Foundation, Inc.
+## Copyright 2000, 2001 Free Software Foundation, Inc.
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,150 +16,18 @@
 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 ## 02111-1307  USA
 
-# The next line is needed by `./esyscmd.1.test'
+# The next line is needed by `others.at:esyscmd'
 #  Ty Coon, President of Vice
-# The previous line is needed by `./esyscmd.1.test'
 
-EXTRA_DIST = get-them run-test mkconfig.sh foo incl.m4 stamp-TESTS \
-       defs $(TESTS) $(OTHER_FILES) $(TESTSUITE_SOURCES) testsuite
+EXTRA_DIST = mkconfig.sh foo incl.m4 \
+       defs $(TESTS) $(OTHER_FILES) $(TESTSUITE_SOURCES) $(TESTSUITE)
 
-MAINTAINERCLEANFILES = Makefile.in $(GENERATED_TESTS) config.m4 config.sh \
-       stamp-TESTS
-
-TESTS_ENVIRONMENT = top_builddir=$(top_builddir) top_srcdir=$(top_srcdir)
-TESTS = $(GENERATED_TESTS) $(OTHER_TESTS)
-
-GENERATED_TESTS = \
-       generated-tests/argument.1.test \
-       generated-tests/argument.2.test \
-       generated-tests/argument.3.test \
-       generated-tests/argument.4.test \
-       generated-tests/changeco.1.test \
-       generated-tests/changeco.2.test \
-       generated-tests/changequ.1.test \
-       generated-tests/changequ.2.test \
-       generated-tests/changequ.3.test \
-       generated-tests/changesy.1.test \
-       generated-tests/changesy.2.test \
-       generated-tests/changesy.3.test \
-       generated-tests/changesy.4.test \
-       generated-tests/changesy.5.test \
-       generated-tests/changesy.6.test \
-       generated-tests/changesy.7.test \
-       generated-tests/changesy.8.test \
-       generated-tests/cleardiv.1.test \
-       generated-tests/cleardiv.2.test \
-       generated-tests/define.1.test \
-       generated-tests/define.2.test \
-       generated-tests/defn.1.test \
-       generated-tests/defn.2.test \
-       generated-tests/divert.1.test \
-       generated-tests/divert.2.test \
-       generated-tests/divnum.1.test \
-       generated-tests/dnl.1.test \
-       generated-tests/dumpdef.1.test \
-       generated-tests/errprint.1.test \
-       generated-tests/errprint.2.test \
-       generated-tests/esyscmd.1.test \
-       generated-tests/eval.1.test \
-       generated-tests/eval.2.test \
-       generated-tests/format.1.test \
-       generated-tests/ifdef.1.test \
-       generated-tests/ifelse.1.test \
-       generated-tests/ifelse.2.test \
-       generated-tests/include.1.test \
-       generated-tests/include.2.test \
-       generated-tests/include.3.test \
-       generated-tests/incr.1.test \
-       generated-tests/index.1.test \
-       generated-tests/indir.1.test \
-       generated-tests/inhibiti.1.test \
-       generated-tests/inhibiti.2.test \
-       generated-tests/len.1.test \
-       generated-tests/loops.1.test \
-       generated-tests/loops.2.test \
-       generated-tests/m4exit.1.test \
-       generated-tests/m4wrap.1.test \
-       generated-tests/patsubst.1.test \
-       generated-tests/patsubst.2.test \
-       generated-tests/pseudoar.1.test \
-       generated-tests/pseudoar.2.test \
-       generated-tests/pseudoar.3.test \
-       generated-tests/pseudoar.4.test \
-       generated-tests/pseudoar.5.test \
-       generated-tests/pushdef.1.test \
-       generated-tests/pushdef.2.test \
-       generated-tests/regexp.1.test \
-       generated-tests/regexp.2.test \
-       generated-tests/substr.1.test \
-       generated-tests/symbols.1.test \
-       generated-tests/sysval.1.test \
-       generated-tests/trace.1.test \
-       generated-tests/translit.1.test \
-       generated-tests/undefine.1.test \
-       generated-tests/undivert.1.test \
-       generated-tests/undivert.2.test \
-       generated-tests/undivert.3.test
-
-OTHER_TESTS = \
-       other-tests/changeword.test \
-       other-tests/discard-comments.test \
-       other-tests/stackovf.test \
-       other-tests/capitalize.test \
-       other-tests/comments.test \
-       other-tests/ddivert.test \
-       other-tests/debug.test \
-       other-tests/esyscmd.test \
-       other-tests/exp.test \
-       other-tests/foreach.test \
-       other-tests/forloop.test \
-       other-tests/fstab.test \
-       other-tests/gmp.test \
-       other-tests/hanoi.test \
-       other-tests/import-environment.test \
-       other-tests/include.test \
-       other-tests/indir.test \
-       other-tests/iso8859.test \
-       other-tests/misc.test \
-       other-tests/modfreeze.test \
-       other-tests/modpath1.test \
-       other-tests/modpath2.test \
-       other-tests/modpath3.test \
-       other-tests/modpath4.test \
-       other-tests/modtest.test \
-       other-tests/multiquotes.test \
-       other-tests/patsubst.test \
-       other-tests/pushpop.test \
-       other-tests/regexp.test \
-       other-tests/reverse.test \
-       other-tests/shadow.test \
-       other-tests/sync-lines.test \
-       other-tests/sysv-args.test \
-       other-tests/trace.test \
-       other-tests/translit.test \
-       other-tests/undivert.test \
-       other-tests/unload.test \
-       other-tests/wrap.test
+MAINTAINERCLEANFILES = Makefile.in generated.at config.m4 config.sh \
+       $(TESTSUITE)
 
 OTHER_FILES = \
        iso8859.m4 \
-       stackovf.test \
-       other-tests/frozen.m4 \
-       other-tests/gmp.m4 \
-       other-tests/iso8859.m4 \
-       other-tests/import-environment.m4 \
-       other-tests/discard-comments.m4 \
-       other-tests/sync-lines.m4 \
-       other-tests/unfrozen.m4
-
-check: stamp-TESTS
-
-stamp-TESTS: $(srcdir)/get-them $(top_srcdir)/doc/m4.texinfo
-       cd $(srcdir) && AWK=$(AWK) ./get-them ../doc/m4.texinfo
-       > $(srcdir)/$@
-
-clean-local:
-       rm -rf testSubDir
+       stackovf.test
 
 TESTSUITE_SOURCES = testsuite.at others.at generated.at
 TESTSUITE = testsuite
Index: tests/get-them
--- tests/get-them Fri, 17 Aug 2001 11:08:20 +0200 akim
+++ 0.17(w)/tests/get-them Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,121 +0,0 @@
-#!/bin/sh
-# Extract all examples from the manual source.
-# Copyright (C) 1992 Free Software Foundation, Inc.
-
-# This script is for use with GNU awk.
-
-FILE=${1-/dev/null}
-
-rm -f generated-tests/*.test 2>/dev/null
-
-${AWK-gawk} '
-
-BEGIN {
-  node = "";
-  seq = -1;
-  count = 0;
-  file = "NONE";
-}
-
-/address@hidden / {
-  if (seq > 0)
-    printf(" --  %d test%s", seq, seq == 1 ? "" : "s");
-  if (seq >= 0)
-    printf("\n");
-
-  split($0, tmp, ",");
-  Node = substr(tmp[1], 7);
-  node = tolower(Node);
-  gsub(" ", "", node);
-  if (length(node) > 8) {
-    printf("Node: %s - truncated", node);
-    node = substr(node, 1, 8);
-  } else {
-    printf("Node: %s ", node);
-  }
-  seq = 0;
-}
-
-/address@hidden ignore$/ {
-  getline;
-  next;
-}
-
-/address@hidden/, /address@hidden example$/ {
-  if (seq < 0)
-    next;
-  if ($0 ~ /address@hidden/) {
-    if (count > 0)
-      close (file);
-    seq++;
-    count++;
-    o = 0;
-    e = 0;
-    error_flag = 0;
-    i = 0;
-    include_flag = 0;
-    file = sprintf("generated-tests/%s.%d.test", node, seq);
-    printf ("#!/bin/sh\n\n") > file;
-    printf ("# %s is part of the GNU m4 testsuite\n", file) >> file;
-    printf ("# generated from example in %s line %d\n\n", FILENAME, NR) >>file;
-    printf (". ${srcdir}/defs\n") >> file;
-    next;
-  }
-  if ($0 ~ /address@hidden example$/) {
-    printthem(input, i, "in");
-    printthem(output, o, "ok");
-    printthem(error, e, "okerr");
-    printf ("\n") >> file;
-    if (include_flag == 1) printf ("M4PATH=$srcdir ") >> file;
-    printf ("$M4 -M $top_builddir/modules -d in >out") >> file;
-    if (error_flag == 1) printf (" 2>err") >> file;
-    if (error_flag == 1) printf ("\nsed -e \"s,^[^:]*[lt-]*m4[.ex]*:,m4:,\" 
err >sederr && mv sederr err") >> file;
-    printf ("\n\n$CMP -s out ok") >> file;
-    if (error_flag == 1) printf (" && $CMP -s err okerr") >> file;
-    printf ("\n\n") >> file;
-    next;
-  }
-  if ($0 ~ /^\^D$/)
-    next;
-  if ($0 ~ /address@hidden/) {
-    gsub(/address@hidden/, "", $0);
-    output[o++] = $0;
-  }
-  else if ($0 ~ /address@hidden/) {
-    gsub(/address@hidden/, "", $0);
-    error[e++] = $0;
-    error_flag = 1;
-  }
-  else {
-    input[i++] = $0;
-    if ($0 ~ /s*include\(/) include_flag = 1;
-  }
-}
-
-END {
-  printf("\n");
-  if (count > 0)
-    close (file);
-}
-
-function printthem(thearray, thecounter, thefile) {
-  if ((thecounter>0) || (thefile=="ok")) {
-    printf ("\ncat <<\\EOF >%s\n", thefile) >> file;
-    for (j=0; j<thecounter; j++) {
-      gsub("@[{]", "{", thearray[j]);
-      gsub("@}", "}", thearray[j]);
-      gsub("@@", "@", thearray[j]);
-      gsub("@comment.*", "", thearray[j]);
-      gsub("@comment.*", "", thearray[j]);
-      # other-tests are run one level deeper than announced.
-      # See the Esyscmd node in the documentation.
-      gsub (" Makefile", "../Makefile", thearray[j]);
-      printf ("%s\n", thearray[j]) >> file;
-    }
-    printf ("EOF\n") >> file;
-  }
-}
-
-' $FILE >/dev/null
-
-chmod +x generated-tests/*.test
Index: tests/other-tests/capitalize.test
--- tests/other-tests/capitalize.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/capitalize.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,36 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/capitalize.m4 >in
-
-cat <<\EOF >ok
-
-
-CONVERT TO UPPER CASE
-convert to lower case
-
-
-This Sentence Should Be Capitalized
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/changeword.test
--- tests/other-tests/changeword.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/changeword.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,45 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-. ../config.sh
-
-# cannot perform test without --enable-changeword
-test -z "$ENABLE_CHANGEWORD" && exit 77
-
-cat <<\EOF >in
-define(1, 0)
-1
-changeword(`[_a-zA-Z0-9]+')
-1
-EOF
-
-cat <<\EOF >ok
-
-1
-
-0
-EOF
-
-cat <<\EOF >okerr
-EOF
-
-$M4 -M ../../modules -m changeword -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/comments.test
--- tests/other-tests/comments.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/comments.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,37 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/comments.m4 >in
-
-cat <<\EOF >ok
-# An ordinary comment
-
-# A comment in a macro
-Macro foo expansion
-
-
-# A *** Macro comment expansion *** in a macro
-Macro foo expansion
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/ddivert.test
--- tests/other-tests/ddivert.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/ddivert.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,31 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/ddivert.m4 >in
-
-cat <<\EOF >ok
-Text diverted a first time.
-Text diverted a second time.
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/debug.test
--- tests/other-tests/debug.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/debug.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,45 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/debug.m4 >in
-
-cat <<\EOF >ok
-
-
-
-2 1 0 Liftoff
-EOF
-
-cat <<\EOF >okerr
-m4trace: -1- countdown ...
-m4trace: -1- countdown(`2') -> ???
-m4trace: -1- countdown(...) -> `2 ifelse(eval(2 > 0), 1, `countdown(decr(2))', 
`Liftoff')'
-m4trace: -1- countdown ...
-m4trace: -1- countdown(`1') -> ???
-m4trace: -1- countdown(...) -> `1 ifelse(eval(1 > 0), 1, `countdown(decr(1))', 
`Liftoff')'
-m4trace: -1- countdown ...
-m4trace: -1- countdown(`0') -> ???
-m4trace: -1- countdown(...) -> `0 ifelse(eval(0 > 0), 1, `countdown(decr(0))', 
`Liftoff')'
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/discard-comments.m4
--- tests/other-tests/discard-comments.m4 Thu, 18 Feb 1999 08:42:42 +0100 
demaille
+++ 0.17(w)/tests/other-tests/discard-comments.m4 Fri, 17 Aug 2001 12:25:17 
+0200 akim ()
@@ -1,7 +0,0 @@
-This is not a comment # but this is.
-# This line should dissappear completely.
-This should not disappear.
-changecom(`<!--', `-->')
-html <!-- 
-comment
- --> ends.
Index: tests/other-tests/discard-comments.test
--- tests/other-tests/discard-comments.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/discard-comments.test Fri, 17 Aug 2001 12:25:17 
+0200 akim ()
@@ -1,32 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/other-tests/discard-comments.m4 >in
-
-cat <<\EOF >ok
-This is not a comment This should not disappear.
-
-html  ends.
-EOF
-
-M4PATH=$srcdir:$srcdir/other-tests $M4 -c -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/esyscmd.test
--- tests/other-tests/esyscmd.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/esyscmd.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,33 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/esyscmd.m4 >in
-
-cat <<\EOF >ok
-# Cannot use real hostname program because test would fail
-hostname = >>www.gnu.org
-<<
-hostname = >>www<<
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/exp.test
--- tests/other-tests/exp.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/exp.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,38 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/exp.m4 >in
-
-cat <<\EOF >ok
-7
-6
-5
-4
-3
-2
-1
-0
-Done
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/foreach.test
--- tests/other-tests/foreach.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/foreach.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,50 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/foreach.m4 >in
-
-cat <<\EOF >ok
-
-Word was: foo
-Word was: bar
-Word was: foobar
-
-
-# Quote torture from Akim Demaille <address@hidden>
-Word was: a
-Word was: (b
-Word was: c)
-
-
-# Something more complex, from Pierre Gaumond <address@hidden>.
-case "$1" in
-  1)
-    vara=" -1";;
-  2)
-    varb=" -2";;
-  3)
-    varc=" -3";;
-esac
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/forloop.test
--- tests/other-tests/forloop.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/forloop.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,41 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/forloop.m4 >in
-
-cat <<\EOF >ok
-
-2**1 = 2
-2**2 = 4
-2**3 = 8
-2**4 = 16
-2**5 = 32
-2**6 = 64
-2**7 = 128
-2**8 = 256
-2**9 = 512
-2**10 = 1024
-
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/frozen.m4
--- tests/other-tests/frozen.m4 Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/frozen.m4 Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,10 +0,0 @@
-divert(1)dnl
-define(`test', `local::`test'')dnl
-define(`test1', defn(`test'))dnl
-->test
-load(`modtest')
-define(`test2', defn(`test'))dnl
-->test
-load(`shadow')
-define(`test3', defn(`test'))dnl
-->test
Index: tests/other-tests/fstab.test
--- tests/other-tests/fstab.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/fstab.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,36 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/fstab.m4 >in
-
-cat <<\EOF >ok
-
-
-
-freja:/home/gevn          /home/gevn       nfs    rw,soft,bg,grpid 0 0
-freja:/home/freja         /home/freja      nfs    rw,soft,grpid    0 0
-rimfaxe:/home/rimfaxe     /home/rimfaxe    nfs    rw,soft,bg       0 0
-
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/gmp.m4
--- tests/other-tests/gmp.m4 Thu, 18 Feb 1999 08:42:42 +0100 demaille
+++ 0.17(w)/tests/other-tests/gmp.m4 Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,10 +0,0 @@
-divert(-1)
-# forloop(i, from, to, stmt)
-
-define(`forloop', `pushdef(`$1', `$2')_forloop(`$1', `$2', `$3', 
`$4')popdef(`$1')')
-define(`_forloop',
-       `$4`'ifelse($1, `$3', ,
-                        `define(`$1', incr($1))_forloop(`$1', `$2', `$3', 
`$4')')')
-divert
-forloop(`x', 1, 100, `2**x = mpeval(2**x)
-')
Index: tests/other-tests/gmp.test
--- tests/other-tests/gmp.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/gmp.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,135 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-. ../config.sh
-
-# cannot perform test without --with-gmp
-test -z "$WITH_GMP" && exit 77
-
-cat ${srcdir}/other-tests/gmp.m4 >in
-
-cat <<\EOF >ok
-
-2**1 = 2
-2**2 = 4
-2**3 = 8
-2**4 = 16
-2**5 = 32
-2**6 = 64
-2**7 = 128
-2**8 = 256
-2**9 = 512
-2**10 = 1024
-2**11 = 2048
-2**12 = 4096
-2**13 = 8192
-2**14 = 16384
-2**15 = 32768
-2**16 = 65536
-2**17 = 131072
-2**18 = 262144
-2**19 = 524288
-2**20 = 1048576
-2**21 = 2097152
-2**22 = 4194304
-2**23 = 8388608
-2**24 = 16777216
-2**25 = 33554432
-2**26 = 67108864
-2**27 = 134217728
-2**28 = 268435456
-2**29 = 536870912
-2**30 = 1073741824
-2**31 = 2147483648
-2**32 = 4294967296
-2**33 = 8589934592
-2**34 = 17179869184
-2**35 = 34359738368
-2**36 = 68719476736
-2**37 = 137438953472
-2**38 = 274877906944
-2**39 = 549755813888
-2**40 = 1099511627776
-2**41 = 2199023255552
-2**42 = 4398046511104
-2**43 = 8796093022208
-2**44 = 17592186044416
-2**45 = 35184372088832
-2**46 = 70368744177664
-2**47 = 140737488355328
-2**48 = 281474976710656
-2**49 = 562949953421312
-2**50 = 1125899906842624
-2**51 = 2251799813685248
-2**52 = 4503599627370496
-2**53 = 9007199254740992
-2**54 = 18014398509481984
-2**55 = 36028797018963968
-2**56 = 72057594037927936
-2**57 = 144115188075855872
-2**58 = 288230376151711744
-2**59 = 576460752303423488
-2**60 = 1152921504606846976
-2**61 = 2305843009213693952
-2**62 = 4611686018427387904
-2**63 = 9223372036854775808
-2**64 = 18446744073709551616
-2**65 = 36893488147419103232
-2**66 = 73786976294838206464
-2**67 = 147573952589676412928
-2**68 = 295147905179352825856
-2**69 = 590295810358705651712
-2**70 = 1180591620717411303424
-2**71 = 2361183241434822606848
-2**72 = 4722366482869645213696
-2**73 = 9444732965739290427392
-2**74 = 18889465931478580854784
-2**75 = 37778931862957161709568
-2**76 = 75557863725914323419136
-2**77 = 151115727451828646838272
-2**78 = 302231454903657293676544
-2**79 = 604462909807314587353088
-2**80 = 1208925819614629174706176
-2**81 = 2417851639229258349412352
-2**82 = 4835703278458516698824704
-2**83 = 9671406556917033397649408
-2**84 = 19342813113834066795298816
-2**85 = 38685626227668133590597632
-2**86 = 77371252455336267181195264
-2**87 = 154742504910672534362390528
-2**88 = 309485009821345068724781056
-2**89 = 618970019642690137449562112
-2**90 = 1237940039285380274899124224
-2**91 = 2475880078570760549798248448
-2**92 = 4951760157141521099596496896
-2**93 = 9903520314283042199192993792
-2**94 = 19807040628566084398385987584
-2**95 = 39614081257132168796771975168
-2**96 = 79228162514264337593543950336
-2**97 = 158456325028528675187087900672
-2**98 = 316912650057057350374175801344
-2**99 = 633825300114114700748351602688
-2**100 = 1267650600228229401496703205376
-
-EOF
-
-M4PATH=$srcdir:$srcdir/../tests $M4 -M ../../modules -m mpeval -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/hanoi.test
--- tests/other-tests/hanoi.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/hanoi.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,38 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/hanoi.m4 >in
-
-cat <<\EOF >ok
-
-Move one disk from source to destination.
-Move one disk from source to auxilliary.
-Move one disk from destination to auxilliary.
-Move one disk from source to destination.
-Move one disk from auxilliary to source.
-Move one disk from auxilliary to destination.
-Move one disk from source to destination.
-
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/import-environment.m4
--- tests/other-tests/import-environment.m4 Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/import-environment.m4 Fri, 17 Aug 2001 12:25:17 
+0200 akim ()
@@ -1,3 +0,0 @@
-`TEST'=TEST
-`ZAPPED'=ZAPPED
-`OVERRIDE'=OVERRIDE
Index: tests/other-tests/import-environment.test
--- tests/other-tests/import-environment.test Fri, 17 Aug 2001 08:47:41 +0200 
akim
+++ 0.17(w)/tests/other-tests/import-environment.test Fri, 17 Aug 2001 12:25:17 
+0200 akim ()
@@ -1,42 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-TEST='This is an environment variable'
-export TEST
-
-ZAPPED='This is an environment variable which we will delete'
-export ZAPPED
-
-OVERRIDE='This is an environment variable which we will change'
-export OVERRIDE
-
-cat ${srcdir}/other-tests/import-environment.m4 >in
-
-cat <<\EOF >ok
-TEST=This is an environment variable
-ZAPPED=ZAPPED
-OVERRIDE=It is changed.
-EOF
-
-M4PATH=$srcdir:$srcdir/other-tests \
-$M4 -M ../../modules --import-environment -UZAPPED -DOVERRIDE='It is changed.' 
-d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/include.test
--- tests/other-tests/include.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/include.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,43 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/include.m4 >in
-
-cat <<\EOF >ok
-Beginning.
-
-Intermidiate
-include test file.
-
-
-After
-
-very late
-EOF
-
-cat <<\EOF >okerr
-m4: in: 2: Cannot open NOFILE: No such file or directory
-m4: in: 6: Cannot open NOFILE: No such file or directory
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/indir.test
--- tests/other-tests/indir.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/indir.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,39 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/indir.m4 >in
-
-cat <<\EOF >ok
-
-
-# indir(`%%$$##', nonsens, nonsens)
->>>%%$$##<<< cnt 2
-
-# indir(`indir', `%%$$##', nonsens)
->>>%%$$##<<< cnt 1
-
-# indir(`indir', `indir', `indir', `indir', `%%$$##')
->>>%%$$##<<< cnt 0
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/iso8859.m4
--- tests/other-tests/iso8859.m4 Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/iso8859.m4 Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,29 +0,0 @@
-# Testing quotes
-DEFINE                 define(`test', `TEST')# eol
-CHANGEQUOTE(«,»)       changequote(«,»)# eol
-0 test                 # TEST
-1 «test»                       # test
-2 ««test»»             # «test»
-3 «««test»»»           # ««test»»
-dnl
-changequote()dnl
-CHANGEQUOTE(«««,»»»)   changequote(«««,»»»)# eol
-0 test                 # TEST
-1 «test»               # «TEST»
-2 ««test»»             # ««TEST»»
-3 «««test»»»                   # test
-changequote`'dnl
-dnl
-dnl
-# Test use of all iso8859 characters except ^Z (win32 EOF) and NUL  ` '
-define(`noquotes', `    \n
-
 !"#$%&()*+,-./0123456789:;<=>address@hidden|}~€‚ƒ„…
†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ 
¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ')dnl
-dnl
-`Length of string is: 'len(defn(`noquotes'))
-`Comparing strings: 'ifelse(defn(`noquotes'), ` \n
-
 !"#$%&()*+,-./0123456789:;<=>address@hidden|}~€‚ƒ„…
†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ 
¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ',
 `MATCH', `NO MATCH')
-dnl
-dnl
-# NUL does not pass through
-define(`NUL_bug', `This will be seen. or FITNESS FOR A PARTICULAR PURPOSE.  
See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/other-tests/iso8859.m4 > in
-
-cat <<\EOF >ok
-# Testing quotes
-DEFINE                 # eol
-CHANGEQUOTE(«,»)       # eol
-0 TEST                 # TEST
-1 test                 # test
-2 «test»               # «test»
-3 ««test»»             # ««test»»
-CHANGEQUOTE(«««,»»»)   # eol
-0 TEST                 # TEST
-1 «TEST»               # «TEST»
-2 ««TEST»»             # ««TEST»»
-3 test                 # test
-# Test use of all iso8859 characters except ^Z (win32 EOF) and NUL  ` '
-Length of string is: 254
-Comparing strings: MATCH
-# NUL does not pass through
-This will be seen.
-EOF
-
-M4PATH=$srcdir:$srcdir/other-tests $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/misc.test
--- tests/other-tests/misc.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/misc.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,34 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-grep root /etc/passwd >/dev/null 2>&1 || exit 77
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/misc.m4 >in
-
-cat <<EOF >ok
-
-`grep '^root:' /etc/passwd | sed 's/root:[^:]*://;s/:.*$//'`
-
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/modfreeze.test
--- tests/other-tests/modfreeze.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/modfreeze.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,33 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-# First generate the `ok' ouput by running over the sources before freezeing
-M4PATH=$srcdir:$srcdir/other-tests $M4 -M ../../modules -m load -d frozen.m4 
unfrozen.m4 >ok 2>okerr
-
-# Now freeze the first source file
-M4PATH=$srcdir:$srcdir/other-tests $M4 -M ../../modules -m load -d -F 
frozen.m4f frozen.m4 >/dev/null 2>&1
-
-# Now rerun the original sequence, but using the frozen file
-M4PATH=$srcdir:$srcdir/other-tests $M4 -M ../../modules -d -R frozen.m4f 
unfrozen.m4  >out 2>err
-
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/modpath1.test
--- tests/other-tests/modpath1.test Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/modpath1.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,39 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../modules/modtest.m4 >in
-
-cat <<'EOF' >ok
-Test module loaded.
-Test module called.
-Dumpdef: .
-EOF
-
-cat <<'EOF' >okerr
-test:  <test>
-EOF
-
-
-M4PATH=$srcdir:$srcdir/../tests $M4 -M `cd ../../modules; pwd` -m load -d in 
>out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/modpath2.test
--- tests/other-tests/modpath2.test Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/modpath2.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,38 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../modules/modtest.m4 >in
-
-cat <<'EOF' >ok
-Test module loaded.
-Test module called.
-Dumpdef: .
-EOF
-
-cat <<'EOF' >okerr
-test:  <test>
-EOF
-
-M4PATH=$srcdir:$srcdir/../tests LTDL_LIBRARY_PATH=../../modules $M4 -m load -d 
in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/modpath3.test
--- tests/other-tests/modpath3.test Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/modpath3.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,41 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-cat <<'EOF' >in
-test
-Dumpdef: dumpdef(`test').
-EOF
-
-cat <<'EOF' >ok
-Test module called.
-Dumpdef: .
-EOF
-
-cat <<'EOF' >okerr
-test:  <test>
-EOF
-
-
-M4PATH=$srcdir:$srcdir/../tests $M4 -m load -m modtest -M ../../modules -d in 
>out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/modpath4.test
--- tests/other-tests/modpath4.test Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/modpath4.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,40 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../modules/modtest.m4 >in
-
-
-cat <<'EOF' >ok
-Test module loaded.
-Test module called.
-Dumpdef: .
-EOF
-
-cat <<'EOF' >okerr
-test:  <test>
-EOF
-
-
-M4PATH=$srcdir:$srcdir/../tests M4MODPATH=`cd ../../modules; pwd` $M4 -m load 
-d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/modtest.test
--- tests/other-tests/modtest.test Fri, 17 Aug 2001 11:08:20 +0200 akim
+++ 0.17(w)/tests/other-tests/modtest.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,40 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../modules/modtest.m4 >in
-
-
-cat <<'EOF' >ok
-Test module loaded.
-Test module called.
-Dumpdef: .
-EOF
-
-cat <<'EOF' >okerr
-test:  <test>
-EOF
-
-
-M4PATH=$srcdir:$srcdir/../tests $M4 -M ../../modules -m load -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/multiquotes.test
--- tests/other-tests/multiquotes.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/multiquotes.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,62 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/multiquotes.m4 >in
-
-cat <<\EOF >ok
-
-``traceon''
-foo
-``FOO''
-
-BAR
-foo bar
-``FOO'' BAR
-*>*>*<*<
-EOF
-
-cat <<\EOF >okerr
-m4trace: -1- changequote(`[', `]')
-m4trace: -1- dnl
-m4trace: -1- changequote([``], [''])
-m4trace: -1- dnl
-m4trace: -1- define(``foo'', ````FOO'''')
-m4trace: -1- dnl
-foo:   ````FOO''''
-m4trace: -1- dumpdef(``foo'')
-m4trace: -1- dnl
-m4trace: -1- changequote(``!'', ``!'')
-m4trace: -1- dnl
-foo:   !``FOO''!
-m4trace: -1- dumpdef(!foo!)
-m4trace: -1- dnl
-m4trace: -1- define(!bar!, !BAR!)
-m4trace: -1- changequote(!>*>*>*>*>!, !<*<*<*<*<!)
-m4trace: -1- dnl
-bar:   >*>*>*>*>BAR<*<*<*<*<
-foo:   >*>*>*>*>``FOO''<*<*<*<*<
-m4trace: -1- dumpdef(>*>*>*>*>foo<*<*<*<*<, >*>*>*>*>bar<*<*<*<*<)
-m4trace: -1- dnl
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/patsubst.test
--- tests/other-tests/patsubst.test Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/patsubst.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,41 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/patsubst.m4 >in
-
-cat <<\EOF >ok
-# traceon(`patsubst')
-OBS: GNUs not Unix.
-OBS: GNUs OBS: not OBS: Unix.
-G=NUs n=ot U=nix.
-(GNUs)() (not)() (Unix)().
-(GNUs) (not) (Unix).
-  .
-GNUs not Unix.
-EOF
-
-cat <<\EOF >okerr
-m4: in: 4: WARNING: \0 will disappear, use \& instead in replacements
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/pushpop.test
--- tests/other-tests/pushpop.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/pushpop.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,43 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/pushpop.m4 >in
-
-cat <<\EOF >ok
-EOF
-
-cat <<\EOF >okerr
-hej:   `def 1.'
-hej:   `def 2.'
-hej:   `def 3.'
-hej:   `def 4.'
-hej:   `def 3.'
-hej:   `def 2.'
-hej:   `def 1.'
-m4: in: 18: Undefined name hej
-m4: in: 20: Undefined name hej
-m4: in: 23: Undefined name mac2
-m4: in: 25: Undefined name mac2
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/regexp.test
--- tests/other-tests/regexp.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/regexp.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,54 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/regexp.m4 >in
-
-cat <<\EOF >ok
->>hej med dig<<
->>hej<<
->>hej med dig<<
->>med<<
->>med dig<< >>ed dig<<
-
-0
-0
-0
-4
-4
-EOF
-
-cat <<\EOF >okerr
-m4: in: 2: WARNING: \0 will disappear, use \& instead in replacements
-m4trace: -1- regexp(`hej med dig', `.*', `>>\0<<') -> `>>hej med dig<<'
-m4trace: -1- regexp(`hej med dig', `\w*', `>>\0<<') -> `>>hej<<'
-m4trace: -1- regexp(`hej med dig', `.+', `>>\0<<') -> `>>hej med dig<<'
-m4trace: -1- regexp(`hej med dig', `m\w+', `>>\0<<') -> `>>med<<'
-m4trace: -1- regexp(`hej med dig', `m\(.*\)', `>>\0<< >>\1<<') -> `>>med dig<< 
>>ed dig<<'
-m4trace: -1- regexp(`hej med dig', `.*') -> `0'
-m4trace: -1- regexp(`hej med dig', `\w*') -> `0'
-m4trace: -1- regexp(`hej med dig', `.+') -> `0'
-m4trace: -1- regexp(`hej med dig', `m\w+') -> `4'
-m4trace: -1- regexp(`hej med dig', `m\(.*\)') -> `4'
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/reverse.test
--- tests/other-tests/reverse.test Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/reverse.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,33 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/reverse.m4 >in
-
-cat <<\EOF >ok
-
-`' => .
-`hej' => hej.
-`hej, med, dig' => dig, med, hej.
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/shadow.test
--- tests/other-tests/shadow.test Fri, 17 Aug 2001 08:47:41 +0200 akim
+++ 0.17(w)/tests/other-tests/shadow.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,97 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000, 2001 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../modules/shadow.m4 >in
-
-cat <<'EOF' >ok
-# no modules loaded yet
-test
-shadow
-
-# define our own macros for `test' and `shadow'
-
-
-local::test
-local::shadow
-
-# module Shadow defines `shadow' and `test' macros
-Shadow module loaded.
-
-
-Shadow::test called.
-Shadow::shadow called.
-
-# save the definition of `test' from the Shadow module
-
-
-# module Test also defines a `test' macro
-Test module loaded.
-
-
-Test module called.
-Shadow::shadow called.
-
-# Reloading Shadow shouldn't affect anything
-
-
-
-Test module called.
-Shadow::shadow called.
-
-# Unloading Test will unshadow the test definition in Shadow
-
-
-
-Shadow::test called.
-Shadow::shadow called.
-
-# Unloading Shadow once has no effect (we loaded it twice)
-
-
-
-Shadow::test called.
-Shadow::shadow called.
-
-# Unloading Shadow again will revert to copying `test' and the local
-# `shadow' macro.
-
-local::test
-local::shadow
-EOF
-
-cat <<'EOF' >okerr
-test:  <test>
-shadow:        <shadow>
-test:  <test>
-shadow:        <shadow>
-test:  <test>
-shadow:        <shadow>
-test:  <test>
-shadow:        <shadow>
-test:  <test>
-shadow:        <shadow>
-EOF
-
-M4PATH=$srcdir:$srcdir/../tests $M4 -M ../../modules -m load -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/stackovf.test
--- tests/other-tests/stackovf.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/stackovf.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,103 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-exit 77
-
-# Script to verify that stack overflow is diagnosed properly when
-# there is infinite macro call nesting.
-# (causes coredump in m4-1.0.3)
-
-# On some systems the ulimit command is available in ksh or bash but not sh
-(exec 2>/dev/null; ulimit -HSs 300) || {
-    for altshell in bash bsh ksh ; do
-       if (exec >/dev/null 2>&1; $altshell -c 'ulimit -HSs 300') && 
-                                                               test -z "$1" 
-       then
-               echo "Using $altshell because it supports ulimit"
-               exec $altshell $0 running-with-$altshell
-               exit 9
-       fi
-    done
-}
-
-PATH=.:..:$PATH; export PATH;
-: ${M4=../../src/m4}
-type $M4
-
-tmpfile=/tmp/t.$$
-trap 'rm -f $tmpfile; exit 1' 1 2 3 15
-
-rm -f core
-perl -e '
-# Generate nested define sequence
-$max=1000000;
-for ($i=0; $i<$max; $i++) {
-       print "define(X$i,\n";
-}
-for ($i=$max-1; $i>=0; $i--) {
-       print "body with substance no. $i)dnl\n"
-}
-' | \
-(
-# Limit the stack size if the shell we are running permits it
-if (exec 2>/dev/null; ulimit -HSs 50)
-then
-       (exec >/dev/null 2>&1; ulimit -v) && ulimitdashv=ok
-       ulimit -HSs 50
-       #ulimit -HSd 8000
-       #test -n "$ulimitdashv" && ulimit -HSv 8000
-       echo "Stack limit is `ulimit -s`K";
-       echo "Heap limit  is `ulimit -d`K";
-       test -n "$ulimitdashv" && 
-               echo "VMem limit  is `ulimit -v`K";
-else
-       echo "Can't reset stack limit - this may take a while..."
-fi
-strace -o /tmp/aaa $M4 -L999999999 > $tmpfile 2>&1
-)
-result=$?
-{ echo "Output from $M4:"; cat $tmpfile; }
-
-exitcode=1
-if test $result -eq 0 ; then
-    echo "TEST DID NOT WORK - m4 did not abort.  Output:"
-else
-    # See if stack overflow was diagnosed
-    case "`cat $tmpfile`" in
-    *overflow*)
-       echo "Test succeeded."; 
-       exitcode=0
-       ;;
-    *ut*of*emory*|*emory*xhausted)
-        echo "*** Test is INCONCLUSIVE (ran out of heap before stack 
overflow)";
-       ;;
-    *) echo "*** Test FAILED.  $M4 aborted unexpectedly.  Output:";
-       ;;
-    esac
-fi
-
-if test -f core ; then
-    ls -l core
-    exitcode=1
-fi
-
-#(test $exitcode -ne 0) &&
-    { echo "Output from $M4:"; cat $tmpfile; }
-
-exit $exitcode
Index: tests/other-tests/sync-lines.m4
--- tests/other-tests/sync-lines.m4 Thu, 19 Nov 1998 14:02:11 +0100 demaille
+++ 0.17(w)/tests/other-tests/sync-lines.m4 Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,12 +0,0 @@
-syncoutput(on)dnl
-# Several input lines, expanding to one
-define(`foo', ``foo' line one.
-`foo' line two.
-`foo' line three.') xyz
-foo
-# Several input lines, expanding to none
-define(`foo', ``foo' line one.
-`foo' line two.
-`foo' line three.')dnl
-# one input line, expanding to several output lines
-foo foo
Index: tests/other-tests/sync-lines.test
--- tests/other-tests/sync-lines.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/sync-lines.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,50 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/other-tests/sync-lines.m4 >in
-
-cat <<\EOF >ok
-#line 2 "in"
-# Several input lines, expanding to one
-#line 5
- xyz
-foo line one.
-#line 6
-foo line two.
-#line 6
-foo line three.
-# Several input lines, expanding to none
-#line 11
-# one input line, expanding to several output lines
-foo line one.
-#line 12
-foo line two.
-#line 12
-foo line three. foo line one.
-#line 12
-foo line two.
-#line 12
-foo line three.
-EOF
-
-M4PATH=$srcdir:$srcdir/other-tests $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/sysv-args.test
--- tests/other-tests/sysv-args.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/sysv-args.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,65 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/sysv-args.m4 >in
-
-cat <<\EOF >ok
-
-
-0
-1
-6
-
-
-hej med dig
-hej med dig en gang igen
-an awful lot of argument at least more that ten silly arguments
-EOF
-
-cat <<\EOF >okerr
-m4trace: -1- nargs -> `0'
-m4trace: -1- nargs(`') -> `1'
-m4trace: -1- nargs(`1', `2', `3', `4', `5', `6') -> `6'
-m4trace: -1- concat(`') -> `ifelse(1, 1, `', `` 'concat(shift(`'))')'
-m4trace: -1- concat(`hej', `med', `dig') -> `ifelse(1, 3, `hej', `hej` 
'concat(shift(`hej',`med',`dig'))')'
-m4trace: -1- concat(`med', `dig') -> `ifelse(1, 2, `med', `med` 
'concat(shift(`med',`dig'))')'
-m4trace: -1- concat(`dig') -> `ifelse(1, 1, `dig', `dig` 
'concat(shift(`dig'))')'
-m4trace: -1- concat(`hej', `med', `dig', `en gang igen') -> `ifelse(1, 4, 
`hej', `hej` 'concat(shift(`hej',`med',`dig',`en gang igen'))')'
-m4trace: -1- concat(`med', `dig', `en gang igen') -> `ifelse(1, 3, `med', 
`med` 'concat(shift(`med',`dig',`en gang igen'))')'
-m4trace: -1- concat(`dig', `en gang igen') -> `ifelse(1, 2, `dig', `dig` 
'concat(shift(`dig',`en gang igen'))')'
-m4trace: -1- concat(`en gang igen') -> `ifelse(1, 1, `en gang igen', `en gang 
igen` 'concat(shift(`en gang igen'))')'
-m4trace: -1- concat(`an', `awful', `lot', `of', `argument', `at', `least', 
`more', `that', `ten', `silly', `arguments') -> `ifelse(1, 12, `an', `an` 
'concat(shift(`an',`awful',`lot',`of',`argument',`at',`least',`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`awful', `lot', `of', `argument', `at', `least', `more', 
`that', `ten', `silly', `arguments') -> `ifelse(1, 11, `awful', `awful` 
'concat(shift(`awful',`lot',`of',`argument',`at',`least',`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`lot', `of', `argument', `at', `least', `more', `that', 
`ten', `silly', `arguments') -> `ifelse(1, 10, `lot', `lot` 
'concat(shift(`lot',`of',`argument',`at',`least',`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`of', `argument', `at', `least', `more', `that', `ten', 
`silly', `arguments') -> `ifelse(1, 9, `of', `of` 
'concat(shift(`of',`argument',`at',`least',`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`argument', `at', `least', `more', `that', `ten', `silly', 
`arguments') -> `ifelse(1, 8, `argument', `argument` 
'concat(shift(`argument',`at',`least',`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`at', `least', `more', `that', `ten', `silly', 
`arguments') -> `ifelse(1, 7, `at', `at` 
'concat(shift(`at',`least',`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`least', `more', `that', `ten', `silly', `arguments') -> 
`ifelse(1, 6, `least', `least` 
'concat(shift(`least',`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`more', `that', `ten', `silly', `arguments') -> `ifelse(1, 
5, `more', `more` 'concat(shift(`more',`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`that', `ten', `silly', `arguments') -> `ifelse(1, 4, 
`that', `that` 'concat(shift(`that',`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`ten', `silly', `arguments') -> `ifelse(1, 3, `ten', `ten` 
'concat(shift(`ten',`silly',`arguments'))')'
-m4trace: -1- concat(`silly', `arguments') -> `ifelse(1, 2, `silly', `silly` 
'concat(shift(`silly',`arguments'))')'
-m4trace: -1- concat(`arguments') -> `ifelse(1, 1, `arguments', `arguments` 
'concat(shift(`arguments'))')'
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/trace.test
--- tests/other-tests/trace.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/trace.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,111 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/trace.m4 >in
-
-cat <<\EOF >ok
-
-# Debugmode t
-
-Move one disk from source to auxilliary.
-Move one disk from source to destination.
-Move one disk from auxilliary to destination.
-
-
-# Debugmode taeq
-
-Move one disk from source to auxilliary.
-Move one disk from source to destination.
-Move one disk from auxilliary to destination.
-
-
-# Debugmode OFF
-
-Move one disk from source to auxilliary.
-Move one disk from source to destination.
-Move one disk from auxilliary to destination.
-
-
-# Debugmode ae
-
-
-Move one disk from source to auxilliary.
-Move one disk from source to destination.
-Move one disk from auxilliary to destination.
-
-EOF
-
-cat <<\EOF >okerr
-m4trace: -1- hanoi
-m4trace: -1- _hanoi
-m4trace: -2- eval
-m4trace: -1- ifelse
-m4trace: -2- decr
-m4trace: -1- _hanoi
-m4trace: -2- eval
-m4trace: -1- ifelse
-m4trace: -1- move
-m4trace: -1- move
-m4trace: -2- decr
-m4trace: -1- _hanoi
-m4trace: -2- eval
-m4trace: -1- ifelse
-m4trace: -1- move
-
-m4trace: -1- hanoi(`2') -> `_hanoi(`2', source, destination, auxilliary)'
-m4trace: -1- _hanoi(`2', `source', `destination', `auxilliary') -> 
`ifelse(eval(`2'<=1), 1, `move(source, destination)',
-`_hanoi(decr(2), source, auxilliary, destination)move(source, 
destination)_hanoi(decr(2), auxilliary, destination, source)')'
-m4trace: -2- eval(`2<=1') -> `0'
-m4trace: -1- ifelse(`0', `1', `move(source, destination)', `_hanoi(decr(2), 
source, auxilliary, destination)move(source, destination)_hanoi(decr(2), 
auxilliary, destination, source)') -> `_hanoi(decr(2), source, auxilliary, 
destination)move(source, destination)_hanoi(decr(2), auxilliary, destination, 
source)'
-m4trace: -2- decr(`2') -> `1'
-m4trace: -1- _hanoi(`1', `source', `auxilliary', `destination') -> 
`ifelse(eval(`1'<=1), 1, `move(source, auxilliary)',
-`_hanoi(decr(1), source, destination, auxilliary)move(source, 
auxilliary)_hanoi(decr(1), destination, auxilliary, source)')'
-m4trace: -2- eval(`1<=1') -> `1'
-m4trace: -1- ifelse(`1', `1', `move(source, auxilliary)', `_hanoi(decr(1), 
source, destination, auxilliary)move(source, auxilliary)_hanoi(decr(1), 
destination, auxilliary, source)') -> `move(source, auxilliary)'
-m4trace: -1- move(`source', `auxilliary') -> `Move one disk from `source' to 
`auxilliary'.
-'
-m4trace: -1- move(`source', `destination') -> `Move one disk from `source' to 
`destination'.
-'
-m4trace: -2- decr(`2') -> `1'
-m4trace: -1- _hanoi(`1', `auxilliary', `destination', `source') -> 
`ifelse(eval(`1'<=1), 1, `move(auxilliary, destination)',
-`_hanoi(decr(1), auxilliary, source, destination)move(auxilliary, 
destination)_hanoi(decr(1), source, destination, auxilliary)')'
-m4trace: -2- eval(`1<=1') -> `1'
-m4trace: -1- ifelse(`1', `1', `move(auxilliary, destination)', 
`_hanoi(decr(1), auxilliary, source, destination)move(auxilliary, 
destination)_hanoi(decr(1), source, destination, auxilliary)') -> 
`move(auxilliary, destination)'
-m4trace: -1- move(`auxilliary', `destination') -> `Move one disk from 
`auxilliary' to `destination'.
-'
-m4trace: -1- debugmode
-m4trace: -1- _hanoi(2, source, destination, auxilliary) -> 
ifelse(eval(`2'<=1), 1, `move(source, destination)',
-`_hanoi(decr(2), source, auxilliary, destination)move(source, 
destination)_hanoi(decr(2), auxilliary, destination, source)')
-m4trace: -1- _hanoi(1, source, auxilliary, destination) -> 
ifelse(eval(`1'<=1), 1, `move(source, auxilliary)',
-`_hanoi(decr(1), source, destination, auxilliary)move(source, 
auxilliary)_hanoi(decr(1), destination, auxilliary, source)')
-m4trace: -1- move(source, auxilliary) -> Move one disk from `source' to 
`auxilliary'.
-
-m4trace: -1- move(source, destination) -> Move one disk from `source' to 
`destination'.
-
-m4trace: -1- _hanoi(1, auxilliary, destination, source) -> 
ifelse(eval(`1'<=1), 1, `move(auxilliary, destination)',
-`_hanoi(decr(1), auxilliary, source, destination)move(auxilliary, 
destination)_hanoi(decr(1), source, destination, auxilliary)')
-m4trace: -1- move(auxilliary, destination) -> Move one disk from `auxilliary' 
to `destination'.
-
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/translit.test
--- tests/other-tests/translit.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/translit.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,37 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/translit.m4 >in
-
-cat <<\EOF >ok
-# traceon(`translit')dnl
-GNU  U
-GNUS NOT UNIX
-gnus not unix
-s not nix
-z
--ZY
-tmfs not fnix
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/undivert.test
--- tests/other-tests/undivert.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/undivert.test Fri, 17 Aug 2001 12:25:17 +0200 
akim ()
@@ -1,36 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/undivert.m4 >in
-
-cat <<\EOF >ok
-
-# undiverted file.
-This is to be undiverted soon.
-
-# included file.
-This is to be UNDIVERTED soon.
-
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/other-tests/unfrozen.m4
--- tests/other-tests/unfrozen.m4 Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/unfrozen.m4 Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,4 +0,0 @@
-undivert(1)dnl
-test1
-test2
-test3
Index: tests/other-tests/unload.test
--- tests/other-tests/unload.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/unload.test Fri, 17 Aug 2001 12:25:17 +0200 akim 
()
@@ -1,76 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-#
-# Written by Gary V. Vaughan <address@hidden>
-
-. ${srcdir}/defs
-
-cat <<'EOF' >in
-test
-__test__
-load(`modtest')
-test
-__test__
-load(`shadow')
-test
-__test__
-unload(`modtest')
-test
-__test__
-load(`modtest')
-test
-__test__
-unload(`modtest')
-test
-__test__
-unload(`shadow')
-test
-__test__
-EOF
-
-cat <<'EOF' >ok
-test
-__test__
-Test module loaded.
-Test module called.
-modtest
-Shadow module loaded.
-Shadow::test called.
-shadow
-
-Shadow::test called.
-shadow
-Test module loaded.
-Test module called.
-modtest
-
-Shadow::test called.
-shadow
-
-test
-__test__
-EOF
-
-cat <<'EOF' >okerr
-EOF
-
-
-M4PATH=$srcdir:$srcdir/../tests $M4 -M ../../modules -m load -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok && $CMP -s err okerr
Index: tests/other-tests/wrap.test
--- tests/other-tests/wrap.test Fri, 10 Aug 2001 14:01:13 +0200 akim
+++ 0.17(w)/tests/other-tests/wrap.test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,35 +0,0 @@
-#!/bin/sh
-# This file is part of the GNU m4 testsuite
-# Copyright 1989-1994, 1999, 2000 Free Software Foundation, Inc.
-#  
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or 
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-
-. ${srcdir}/defs
-
-cat ${srcdir}/../examples/wrap.m4 >in
-
-cat <<\EOF >ok
-
-No. 33: The End.
-Wrapper no. 2
-Wrapper no. 1
-Wrapper no. 3
-Wrapper no. 4
-EOF
-
-M4PATH=$srcdir:$srcdir/../examples $M4 -M ../../modules -d in >out 2>err
-sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
-$CMP -s out ok
Index: tests/run-test
--- tests/run-test Thu, 19 Nov 1998 14:02:11 +0100 demaille
+++ 0.17(w)/tests/run-test Fri, 17 Aug 2001 12:25:17 +0200 akim ()
@@ -1,31 +0,0 @@
-#!/bin/sh
-# Run a test manually
-# Copyright (C) 1998 Free Software Foundation, Inc.
-
-srcdir=.
-export srcdir
-
-shopts=
-test -z "$VERBOSE" || shopts=-x
-
-if sh $shopts "$@"; then
-    echo "Test succeeded"
-else
-    echo "TEST FAILED"
-
-    if cmp testSubDir/ok testSubDir/out 2>/dev/null; then
-       :
-    else
-       echo "stdout mismatch"
-       diff -c  testSubDir/ok testSubDir/out
-    fi
-
-    if test -e testSubDir/err; then
-       if cmp testSubDir/okerr testSubDir/err 2>/dev/null; then
-           :
-       else
-           echo "stderr mismatch"
-           diff -c  testSubDir/okerr testSubDir/err
-       fi
-    fi
-fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]