This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=f57bd856b2a0e6ecd96fd34f112d28de18a9f212 The branch, master has been updated via f57bd856b2a0e6ecd96fd34f112d28de18a9f212 (commit) from a7ef9660176bc5927a39fc519abbc03f13c4cbf9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f57bd856b2a0e6ecd96fd34f112d28de18a9f212 Author: Ralf Wildenhues <[EMAIL PROTECTED]> Date: Mon Nov 26 22:31:06 2007 +0100 Quote file names in tests that can be absolute. * tests/auxdir.test, tests/check3.test, tests/check4.test, tests/compile.test, tests/cond33.test, tests/condhook.test, tests/distdir.test, tests/dollar.test, tests/empty.test, tests/gnits2.test, tests/gnits3.test, tests/include2.test, tests/insthook.test, tests/java.test, tests/libtool7.test, tests/lisp4.test, tests/lisp5.test, tests/lisp6.test, tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test, tests/multlib.test, tests/nobase.test, tests/nodist2.test, tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test, tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test, tests/python3.test, tests/strip.test, tests/transform.test, tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test, tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test: Likewise. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 16 ++++++++++++++++ tests/auxdir.test | 4 ++-- tests/check3.test | 4 ++-- tests/check4.test | 4 ++-- tests/compile.test | 4 ++-- tests/cond33.test | 6 +++--- tests/condhook.test | 4 ++-- tests/distdir.test | 4 ++-- tests/dollar.test | 4 ++-- tests/empty.test | 4 ++-- tests/gnits2.test | 4 ++-- tests/gnits3.test | 4 ++-- tests/include2.test | 4 ++-- tests/insthook.test | 10 +++++----- tests/java.test | 4 ++-- tests/libtool7.test | 2 +- tests/lisp4.test | 26 +++++++++++++------------- tests/lisp5.test | 14 +++++++------- tests/lisp6.test | 6 +++--- tests/ltcond.test | 4 ++-- tests/ltconv.test | 4 ++-- tests/mkinst2.test | 4 ++-- tests/multlib.test | 6 +++--- tests/nobase.test | 6 +++--- tests/nodist2.test | 4 ++-- tests/obsolete.test | 4 ++-- tests/pr287.test | 4 ++-- tests/pr300-lib.test | 4 ++-- tests/pr300-ltlib.test | 4 ++-- tests/pr300-prog.test | 4 ++-- tests/python10.test | 38 +++++++++++++++++++------------------- tests/python3.test | 8 ++++---- tests/strip.test | 4 ++-- tests/transform.test | 4 ++-- tests/txinfo13.test | 4 ++-- tests/txinfo19.test | 4 ++-- tests/txinfo22.test | 4 ++-- tests/txinfo23.test | 4 ++-- tests/txinfo26.test | 4 ++-- tests/txinfo27.test | 4 ++-- 40 files changed, 135 insertions(+), 119 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8271959..fb86952 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,21 @@ 2007-11-26 Ralf Wildenhues <[EMAIL PROTECTED]> + Quote file names in tests that can be absolute. + * tests/auxdir.test, tests/check3.test, tests/check4.test, + tests/compile.test, tests/cond33.test, tests/condhook.test, + tests/distdir.test, tests/dollar.test, tests/empty.test, + tests/gnits2.test, tests/gnits3.test, tests/include2.test, + tests/insthook.test, tests/java.test, tests/libtool7.test, + tests/lisp4.test, tests/lisp5.test, tests/lisp6.test, + tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test, + tests/multlib.test, tests/nobase.test, tests/nodist2.test, + tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test, + tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test, + tests/python3.test, tests/strip.test, tests/transform.test, + tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test, + tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test: + Likewise. + Quote @abs_top_builddir@ and @[EMAIL PROTECTED] * tests/aclocal.in: Likewise. * tests/automake.in: Likewise. diff --git a/tests/auxdir.test b/tests/auxdir.test index 771d08b..36fcc62 100755 --- a/tests/auxdir.test +++ b/tests/auxdir.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1996, 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -34,7 +34,7 @@ cat > Makefile.am << 'END' pkgdata_DATA = END -cp $testsrcdir/../lib/mkinstalldirs . +cp "$testsrcdir/../lib/mkinstalldirs" . # The "././" prefix confuses Automake into thinking it is doing a # subdir build. Yes, this is hacky. diff --git a/tests/check3.test b/tests/check3.test index e863996..034c447 100755 --- a/tests/check3.test +++ b/tests/check3.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -61,7 +61,7 @@ END $ACLOCAL $AUTOCONF $AUTOMAKE -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE check >stdout cat stdout grep 'PASS: subrun.sh' stdout diff --git a/tests/check4.test b/tests/check4.test index 3d37c23..c1632cf 100755 --- a/tests/check4.test +++ b/tests/check4.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2005 Free Software Foundation, Inc. +# Copyright (C) 2005, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -53,7 +53,7 @@ chmod +x ok.sh dir/fail.sh $ACLOCAL $AUTOCONF $AUTOMAKE -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE check >stdout && exit 1 cat stdout grep 'FAIL: fail.sh' stdout diff --git a/tests/compile.test b/tests/compile.test index 1f4c413..0fbf2b7 100755 --- a/tests/compile.test +++ b/tests/compile.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -24,7 +24,7 @@ set -e -cp $testsrcdir/../lib/compile . +cp "$testsrcdir/../lib/compile" . # -o 'a c' should not be stripped because 'a c' is not an object # (it does not matter whether touch creates ./-- or not) diff --git a/tests/cond33.test b/tests/cond33.test index 7275b1b..0815041 100755 --- a/tests/cond33.test +++ b/tests/cond33.test @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -52,7 +52,7 @@ $AUTOMAKE mkdir nowhere chmod a-w nowhere -./configure --prefix=`pwd`/nowhere --bindir=`pwd`/bin --includedir=`pwd`/inc +./configure "--prefix=`pwd`/nowhere" "--bindir=`pwd`/bin" "--includedir=`pwd`/inc" $MAKE installdirs test ! -d bin test -d inc/foo @@ -63,7 +63,7 @@ test ! -d bin test -f inc/foo/foo.h rm -rf inc ./configure two=two \ - --prefix=`pwd`/nowhere --bindir=`pwd`/bin --includedir=`pwd`/inc + "--prefix=`pwd`/nowhere" "--bindir=`pwd`/bin" "--includedir=`pwd`/inc" $MAKE install test ! -d inc test -f bin/x.sh diff --git a/tests/condhook.test b/tests/condhook.test index 3b9ffd9..230a3a1 100755 --- a/tests/condhook.test +++ b/tests/condhook.test @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -43,5 +43,5 @@ END $ACLOCAL $AUTOCONF $AUTOMAKE -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE install diff --git a/tests/distdir.test b/tests/distdir.test index 3e4b361..6c52272 100755 --- a/tests/distdir.test +++ b/tests/distdir.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 2001, 2002, 2003, 2006 Free Software Foundation, Inc. +# Copyright (C) 1996, 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -61,7 +61,7 @@ VERSION=10 MKDIR_P='echo MKDIR_P' $MAKE -e distdir >make.log || : grep 'MKDIR_P.*\.' make.log && exit 1 cd .. -./configure --prefix `pwd` +./configure --prefix "`pwd`" $MAKE distcheck exit 0 diff --git a/tests/dollar.test b/tests/dollar.test index 9ae3994..e0cd687 100755 --- a/tests/dollar.test +++ b/tests/dollar.test @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -44,7 +44,7 @@ EOF $ACLOCAL $AUTOCONF $AUTOMAKE -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE install test -f 'inst/my/hello$world' $MAKE check-dist diff --git a/tests/empty.test b/tests/empty.test index bb43b52..3cfbb6b 100755 --- a/tests/empty.test +++ b/tests/empty.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003 +# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2007 # Free Software Foundation, Inc. # # This file is part of GNU Automake. @@ -32,5 +32,5 @@ echo 'data_DATA =' >Makefile.am $ACLOCAL $AUTOCONF $AUTOMAKE -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE install diff --git a/tests/gnits2.test b/tests/gnits2.test index 747e97c..2b4dc9e 100755 --- a/tests/gnits2.test +++ b/tests/gnits2.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -106,7 +106,7 @@ mkdir build cd build # Use --program-prefix to make sure the std-options check honors it. -../configure --prefix=`pwd`/../inst-dir --program-prefix=p +../configure "--prefix=`pwd`/../inst-dir" --program-prefix=p $MAKE all $MAKE test-install $MAKE -k installcheck 2>stderr || : # Never trust the exit status of make -k. diff --git a/tests/gnits3.test b/tests/gnits3.test index c97c493..d6c37e5 100755 --- a/tests/gnits3.test +++ b/tests/gnits3.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -84,7 +84,7 @@ mkdir build cd build # Use --program-prefix to make sure the std-options check honors it. -../configure --prefix=`pwd`/../inst-dir --program-prefix=p +../configure "--prefix=`pwd`/../inst-dir" --program-prefix=p $MAKE $MAKE install $MAKE -k installcheck 2>stderr || : # Never trust the exit status of make -k. diff --git a/tests/include2.test b/tests/include2.test index 0cd4de6..3353de7 100755 --- a/tests/include2.test +++ b/tests/include2.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -51,5 +51,5 @@ $AUTOCONF $AUTOMAKE # Use --srcdir with an absolute path because it's harder # to support in `distdir'. -./configure --srcdir `pwd` +./configure --srcdir "`pwd`" $MAKE test diff --git a/tests/insthook.test b/tests/insthook.test index 217130a..e5e8276 100755 --- a/tests/insthook.test +++ b/tests/insthook.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003, 2005, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -33,13 +33,13 @@ cat >Makefile.am <<'END' dist_bin_SCRIPTS = foo install-exec-hook: - cd $(DESTDIR)$(bindir) && \ + cd "$(DESTDIR)$(bindir)" && \ mv -f foo foo-$(VERSION) && \ $(LN_S) foo-$(VERSION) foo installcheck-local: - test -f $(bindir)/foo - test -f $(bindir)/foo-$(VERSION) + test -f "$(bindir)/foo" + test -f "$(bindir)/foo-$(VERSION)" : > $(top_srcdir)/../ok END @@ -59,7 +59,7 @@ test -f ok # second version will overwrite `foo'. Hopefully `install' and `install-sh' # are smart enough to erase the `foo' symlink before installing the new # version.) -./configure --bindir=`pwd`/bin +./configure "--bindir=`pwd`/bin" $MAKE install echo 2 > foo VERSION=2.0 $MAKE -e install diff --git a/tests/java.test b/tests/java.test index 345467a..5a1f3aa 100755 --- a/tests/java.test +++ b/tests/java.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1998, 2001, 2002, 2004 Free Software Foundation, Inc. +# Copyright (C) 1998, 2001, 2002, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -53,5 +53,5 @@ class b } EOF -./configure --prefix `pwd` +./configure --prefix "`pwd`" $MAKE distcheck diff --git a/tests/libtool7.test b/tests/libtool7.test index 845e975..563a126 100755 --- a/tests/libtool7.test +++ b/tests/libtool7.test @@ -85,7 +85,7 @@ $ACLOCAL $AUTOCONF $AUTOMAKE --add-missing --copy -./configure --prefix=`pwd`/_inst +./configure "--prefix=`pwd`/_inst" env LIBTOOLFLAGS=--silent $MAKE print >output 2>&1 cat output grep '1BEG: libmod1.la mod2.la :END1' output diff --git a/tests/lisp4.test b/tests/lisp4.test index 7b3e8f9..51c0b70 100755 --- a/tests/lisp4.test +++ b/tests/lisp4.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -41,20 +41,20 @@ test: test ! -f elc-stamp install-test: install - test -f $(lispdir)/am-one.el - test -f $(lispdir)/am-two.el - test -f $(lispdir)/am-three.el - test ! -f $(lispdir)/am-one.elc - test ! -f $(lispdir)/am-two.elc - test ! -f $(lispdir)/am-three.elc + test -f "$(lispdir)/am-one.el" + test -f "$(lispdir)/am-two.el" + test -f "$(lispdir)/am-three.el" + test ! -f "$(lispdir)/am-one.elc" + test ! -f "$(lispdir)/am-two.elc" + test ! -f "$(lispdir)/am-three.elc" install-test2: install - test ! -f $(lispdir)/am-one.el - test ! -f $(lispdir)/am-two.el - test ! -f $(lispdir)/am-three.el - test ! -f $(lispdir)/am-one.elc - test ! -f $(lispdir)/am-two.elc - test ! -f $(lispdir)/am-three.elc + test ! -f "$(lispdir)/am-one.el" + test ! -f "$(lispdir)/am-two.el" + test ! -f "$(lispdir)/am-three.el" + test ! -f "$(lispdir)/am-one.elc" + test ! -f "$(lispdir)/am-two.elc" + test ! -f "$(lispdir)/am-three.elc" EOF cat >> configure.in << 'EOF' diff --git a/tests/lisp5.test b/tests/lisp5.test index bfc3997..7584d62 100755 --- a/tests/lisp5.test +++ b/tests/lisp5.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -40,12 +40,12 @@ test: test ! -f elc-stamp install-test: install - test -f $(lispdir)/am-one.el - test -f $(lispdir)/am-two.el - test -f $(lispdir)/am-three.el - test ! -f $(lispdir)/am-one.elc - test ! -f $(lispdir)/am-two.elc - test ! -f $(lispdir)/am-three.elc + test -f "$(lispdir)/am-one.el" + test -f "$(lispdir)/am-two.el" + test -f "$(lispdir)/am-three.el" + test ! -f "$(lispdir)/am-one.elc" + test ! -f "$(lispdir)/am-two.elc" + test ! -f "$(lispdir)/am-three.elc" EOF cat >> configure.in << 'EOF' diff --git a/tests/lisp6.test b/tests/lisp6.test index 1ccfed2..918345b 100755 --- a/tests/lisp6.test +++ b/tests/lisp6.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -51,7 +51,7 @@ echo "(require 'am-one)" > am-three.el $ACLOCAL $AUTOCONF $AUTOMAKE --add-missing -./configure --with-lispdir=`pwd`/lisp +./configure "--with-lispdir=`pwd`/lisp" $MAKE test -f am-one.elc @@ -76,7 +76,7 @@ test ! -f am-three.elc test ! -f elc-stamp -./configure --with-lispdir=`pwd`/lisp want_two=1 +./configure "--with-lispdir=`pwd`/lisp" want_two=1 $MAKE test -f am-one.elc test -f am-two.elc diff --git a/tests/ltcond.test b/tests/ltcond.test index 6fe094c..244fa98 100755 --- a/tests/ltcond.test +++ b/tests/ltcond.test @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -69,7 +69,7 @@ $AUTOMAKE --add-missing # Install libraries in lib/, and the rest in empty/. # (in fact there is no "rest", so as the name imply empty/ is # expected to remain empty). -./configure --prefix=`pwd`/empty --libdir=`pwd`/lib +./configure "--prefix=`pwd`/empty" "--libdir=`pwd`/lib" $MAKE test -f lib1foo.la diff --git a/tests/ltconv.test b/tests/ltconv.test index ac18c97..bc95924 100755 --- a/tests/ltconv.test +++ b/tests/ltconv.test @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -118,7 +118,7 @@ $AUTOMAKE --add-missing # Install libraries in lib/, programs in bin/, and the rest in empty/. # (in fact there is no "rest", so as the name imply empty/ is # expected to remain empty). -./configure --prefix=`pwd`/empty --libdir=`pwd`/lib --bindir=`pwd`/bin +./configure "--prefix=`pwd`/empty" "--libdir=`pwd`/lib" "--bindir=`pwd`/bin" $MAKE test -f libtop.la diff --git a/tests/mkinst2.test b/tests/mkinst2.test index 8f104d2..4bde874 100755 --- a/tests/mkinst2.test +++ b/tests/mkinst2.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 1997, 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 2001, 2002, 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -36,7 +36,7 @@ END $ACLOCAL $AUTOCONF $AUTOMAKE -./configure --prefix `pwd`/sub +./configure --prefix "`pwd`/sub" $MAKE installdirs test ! -d sub/man diff --git a/tests/multlib.test b/tests/multlib.test index 8f846ee..05dd6ee 100755 --- a/tests/multlib.test +++ b/tests/multlib.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -110,8 +110,8 @@ mkdir libbar/sub : > libbar/bar.c -cp $testsrcdir/../lib/config-ml.in . -cp $testsrcdir/../lib/symlink-tree . +cp "$testsrcdir/../lib/config-ml.in" . +cp "$testsrcdir/../lib/symlink-tree" . $ACLOCAL $AUTOCONF diff --git a/tests/nobase.test b/tests/nobase.test index 9895c52..7d38710 100755 --- a/tests/nobase.test +++ b/tests/nobase.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -114,7 +114,7 @@ libtoolize $ACLOCAL $AUTOCONF $AUTOMAKE -a --copy -./configure --prefix `pwd`/inst --program-prefix=p +./configure --prefix "`pwd`/inst" --program-prefix=p $MAKE $MAKE test-install-data @@ -131,7 +131,7 @@ $MAKE uninstall $MAKE distclean mkdir build cd build -../configure --prefix `pwd`/inst --program-prefix=p +../configure --prefix "`pwd`/inst" --program-prefix=p $MAKE $MAKE test-install-data $MAKE test-install-exec diff --git a/tests/nodist2.test b/tests/nodist2.test index cbb71b1..c92c06d 100755 --- a/tests/nodist2.test +++ b/tests/nodist2.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -38,5 +38,5 @@ set -e $ACLOCAL $AUTOCONF $AUTOMAKE -a -./configure --prefix `pwd`/install +./configure --prefix "`pwd`/install" $MAKE install-data diff --git a/tests/obsolete.test b/tests/obsolete.test index ab6f59a..72ba3b4 100755 --- a/tests/obsolete.test +++ b/tests/obsolete.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1996, 2001, 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -27,7 +27,7 @@ AC_INIT END $PERL -ne '/AU_DEFUN\(\[(\w+)\]/ && print "$1\n"' \ - $testsrcdir/../m4/obsolete.m4 >> obs + "$testsrcdir/../m4/obsolete.m4" >> obs cat obs >> configure.in $PERL -ne 'chomp; print "grep $_ stderr || exit 1\n"; ' obs > obs.1 $PERL -ne 'chomp; print "grep $_ configure.in && exit 1\n"; ' obs > obs.2 diff --git a/tests/pr287.test b/tests/pr287.test index 7f0ac21..794199a 100755 --- a/tests/pr287.test +++ b/tests/pr287.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -49,6 +49,6 @@ mkdir install $ACLOCAL $AUTOCONF $AUTOMAKE -a -./configure --prefix=`cd install && pwd` +./configure "--prefix=`cd install && pwd`" $MAKE $MAKE distdir diff --git a/tests/pr300-lib.test b/tests/pr300-lib.test index 821d766..beba7dc 100755 --- a/tests/pr300-lib.test +++ b/tests/pr300-lib.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -50,7 +50,7 @@ END $ACLOCAL $AUTOCONF $AUTOMAKE --copy --add-missing -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE test -f subdir/liba.a diff --git a/tests/pr300-ltlib.test b/tests/pr300-ltlib.test index 6e168cd..ad352a0 100755 --- a/tests/pr300-ltlib.test +++ b/tests/pr300-ltlib.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -51,7 +51,7 @@ libtoolize $ACLOCAL $AUTOCONF $AUTOMAKE --copy --add-missing -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE test -f subdir/liba.la diff --git a/tests/pr300-prog.test b/tests/pr300-prog.test index 9841b07..57309c3 100755 --- a/tests/pr300-prog.test +++ b/tests/pr300-prog.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -67,7 +67,7 @@ END $ACLOCAL $AUTOCONF $AUTOMAKE --copy --add-missing -./configure --prefix `pwd`/inst +./configure --prefix "`pwd`/inst" $MAKE test-all $MAKE test-install $MAKE test-uninstall diff --git a/tests/python10.test b/tests/python10.test index f240bd0..ba83b82 100755 --- a/tests/python10.test +++ b/tests/python10.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -60,28 +60,28 @@ mkdir build cd build ../configure --prefix="$inst" $MAKE install -test -f $inst/your/two.py -test -f $inst/your/two.pyc -test -f $inst/your/two.pyo -test ! -f $inst/my/one.py -test ! -f $inst/my/one.pyc -test ! -f $inst/my/one.pyo +test -f "$inst/your/two.py" +test -f "$inst/your/two.pyc" +test -f "$inst/your/two.pyo" +test ! -f "$inst/my/one.py" +test ! -f "$inst/my/one.pyc" +test ! -f "$inst/my/one.pyo" $MAKE uninstall -test ! -f $inst/your/two.py -test ! -f $inst/your/two.pyc -test ! -f $inst/your/two.pyo +test ! -f "$inst/your/two.py" +test ! -f "$inst/your/two.pyc" +test ! -f "$inst/your/two.pyo" ../configure --prefix="$inst" one=1 $MAKE install -test ! -f $inst/your/two.py -test ! -f $inst/your/two.pyc -test ! -f $inst/your/two.pyo -test -f $inst/my/one.py -test -f $inst/my/one.pyc -test -f $inst/my/one.pyo +test ! -f "$inst/your/two.py" +test ! -f "$inst/your/two.pyc" +test ! -f "$inst/your/two.pyo" +test -f "$inst/my/one.py" +test -f "$inst/my/one.pyc" +test -f "$inst/my/one.pyo" $MAKE uninstall -test ! -f $inst/my/one.py -test ! -f $inst/my/one.pyc -test ! -f $inst/my/one.pyo +test ! -f "$inst/my/one.py" +test ! -f "$inst/my/one.pyc" +test ! -f "$inst/my/one.pyo" $MAKE disttest diff --git a/tests/python3.test b/tests/python3.test index e8df59b..e030324 100755 --- a/tests/python3.test +++ b/tests/python3.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -48,6 +48,6 @@ mkdir build cd build ../configure --prefix="$inst" $MAKE install -test -f $inst/my/one.py -test -f $inst/my/one.pyc -test -f $inst/my/one.pyo +test -f "$inst/my/one.py" +test -f "$inst/my/one.pyc" +test -f "$inst/my/one.pyo" diff --git a/tests/strip.test b/tests/strip.test index 6a708cd..05ee1e9 100755 --- a/tests/strip.test +++ b/tests/strip.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -49,6 +49,6 @@ mkdir install $ACLOCAL $AUTOCONF $AUTOMAKE -a -./configure --prefix=`cd install && pwd` +./configure "--prefix=`cd install && pwd`" $MAKE $MAKE install-strip diff --git a/tests/transform.test b/tests/transform.test index a420dea..ae7978b 100755 --- a/tests/transform.test +++ b/tests/transform.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -56,7 +56,7 @@ $ACLOCAL $AUTOCONF $AUTOMAKE -./configure --program-prefix=gnu- --prefix `pwd`/inst --mandir `pwd`/inst/man +./configure --program-prefix=gnu- --prefix "`pwd`/inst" --mandir "`pwd`/inst/man" $MAKE $MAKE test-install $MAKE uninstall diff --git a/tests/txinfo13.test b/tests/txinfo13.test index c791515..8e0f888 100755 --- a/tests/txinfo13.test +++ b/tests/txinfo13.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2006, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -34,7 +34,7 @@ info_TEXINFOS = subdir/main.texi subdir_main_TEXINFOS = subdir/inc.texi installcheck-local: - test -f $(infodir)/main.info + test -f "$(infodir)/main.info" check-local: test ! -f $(srcdir)/subdir/main.info.bak END diff --git a/tests/txinfo19.test b/tests/txinfo19.test index 2b9813d..4b45c51 100755 --- a/tests/txinfo19.test +++ b/tests/txinfo19.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -44,7 +44,7 @@ $ACLOCAL $AUTOMAKE --add-missing $AUTOCONF -./configure --infodir=`pwd`/_inst +./configure "--infodir=`pwd`/_inst" $MAKE # Make sure .iNN files are installed. diff --git a/tests/txinfo22.test b/tests/txinfo22.test index d7b2979..8afc01e 100755 --- a/tests/txinfo22.test +++ b/tests/txinfo22.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -57,7 +57,7 @@ END mkdir aux1 mkdir tex -cp $testsrcdir/../lib/texinfo.tex tex +cp "$testsrcdir/../lib/texinfo.tex" tex $ACLOCAL $AUTOMAKE --add-missing diff --git a/tests/txinfo23.test b/tests/txinfo23.test index 3aa84fa..225960f 100755 --- a/tests/txinfo23.test +++ b/tests/txinfo23.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -34,7 +34,7 @@ info_TEXINFOS = subdir/main.texi subdir_main_TEXINFOS = subdir/inc.texi installcheck-local: - test -f $(infodir)/main.info + test -f "$(infodir)/main.info" END mkdir subdir diff --git a/tests/txinfo26.test b/tests/txinfo26.test index 86549b2..4d75589 100755 --- a/tests/txinfo26.test +++ b/tests/txinfo26.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -53,7 +53,7 @@ $MAKE $MAKE distclean mkdir build cd build -../configure --srcdir=`pwd`/.. --prefix=`pwd`/_inst --infodir=`pwd`/_inst/info +../configure "--srcdir=`pwd`/.." "--prefix=`pwd`/_inst" "--infodir=`pwd`/_inst/info" $MAKE install test -f ../main.info test ! -f ./main.info diff --git a/tests/txinfo27.test b/tests/txinfo27.test index 3e3a6ef..0bc18b0 100755 --- a/tests/txinfo27.test +++ b/tests/txinfo27.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -47,6 +47,6 @@ $ACLOCAL $AUTOMAKE --add-missing $AUTOCONF -./configure --prefix=`pwd`/inst --infodir=`pwd`/inst/info +./configure "--prefix=`pwd`/inst" "--infodir=`pwd`/inst/info" $MAKE install-info test -f inst/info/main.info hooks/post-receive -- GNU Automake