]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'master' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 18:18:32 +0000 (20:18 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 18:18:32 +0000 (20:18 +0200)
* master:
  texi: clean after Texinfo manuals in $(SUBDIRS) directories correctly
  coverage: regression in texinfo "make mostlyclean" with $(SUBDIRS)
  tests: fix a spurious failure
  configure: fix detection of POSIX shell to work in a VPATH build
  tests: prefer "test ! -e FILE" to check that a file doesn't exist
  configure: move a misplaced "section" comment
  configure: clump check for ${var%...} and ${var#...} expansion together
  cosmetics: improve wording of a couple of configure messages
  configure: the testsuite shell must support 'test -e' and 'test ! -e'
  tests: remove stale workarounds for Solaris /bin/sh

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
79 files changed:
1  2 
automake.in
configure.ac
t/autodist-subdir.sh
t/autodist.sh
t/ax/test-init.sh
t/check12.sh
t/colon6.sh
t/cscope.tap
t/cxx-lt-demo.sh
t/dist-auxfile.sh
t/distcom-subdir.sh
t/distlinksbrk.sh
t/fort5.sh
t/instdir-java.sh
t/instdir-lisp.sh
t/instdir-ltlib.sh
t/instdir-no-empty.sh
t/instdir-prog.sh
t/instdir-python.sh
t/instdir-texi.sh
t/instdir.sh
t/instdir2.sh
t/lex3.sh
t/libtoo10.sh
t/maken3.sh
t/parallel-tests-exeext.sh
t/parallel-tests-extra-programs.sh
t/parallel-tests-log-override.sh
t/parallel-tests.sh
t/parallel-tests2.sh
t/parallel-tests8.sh
t/pr401.sh
t/pr401b.sh
t/pr401c.sh
t/python-virtualenv.sh
t/remake-gnulib-add-header.sh
t/remake-gnulib-remove-header.sh
t/remake-moved-m4-file.sh
t/remake-renamed-am.sh
t/remake-renamed-m4-file.sh
t/remake-renamed-m4-macro-and-file.sh
t/remake8a.sh
t/remake8b.sh
t/repeated-options.sh
t/self-check-dir.tap
t/serial-tests.sh
t/subobj-clean-lt-pr10697.sh
t/subobj-clean-pr10697.sh
t/subpkg-yacc.sh
t/subpkg.sh
t/suffix3.sh
t/tap-basic.sh
t/tap-log.sh
t/tap-more.sh
t/tap-recheck.sh
t/test-driver-custom-multitest-recheck.sh
t/test-driver-custom-multitest-recheck2.sh
t/test-driver-custom.sh
t/test-driver-fail.sh
t/test-log.sh
t/test-missing.sh
t/test-trs-basic.sh
t/test-trs-recover.sh
t/txinfo20.sh
t/txinfo21.sh
t/uninstall-fail.sh
t/vala-headers.sh
t/vala-parallel.sh
t/vala-vpath.sh
t/vala3.sh
t/vala5.sh
t/yacc-auxdir.sh
t/yacc-basic.sh
t/yacc-cxx.sh
t/yacc-d-basic.sh
t/yacc-d-cxx.sh
t/yacc-dist-nobuild-subdir.sh
t/yacc-mix-c-cxx.sh
t/yflags-cmdline-override.sh

diff --cc automake.in
Simple merge
diff --cc configure.ac
Simple merge
Simple merge
diff --cc t/autodist.sh
Simple merge
Simple merge
diff --cc t/check12.sh
Simple merge
diff --cc t/colon6.sh
Simple merge
diff --cc t/cscope.tap
Simple merge
Simple merge
Simple merge
index 15693311e4af2cb6669ab9e8b26aaad7280bca7c,a841fd9ba93f197354fe12f3dd96f6052ff2c9e7..c6b6926b15a293f3e0bfa4c0e1fed14244525756
@@@ -47,22 -37,13 +47,22 @@@ EN
  $ACLOCAL
  $AUTOCONF
  $AUTOMAKE
- test ! -f depcomp
+ test ! -e depcomp
  
 -cat > subdir/Makefile.am << 'END'
 +cat >> subdir/Makefile.am << 'END'
  bin_PROGRAMS = foo
 +.PHONY: test-distcom
 +test-distcom:
 +      echo ' ' $(am__dist_common) ' ' | $(FGREP) ' $(top_srcdir)/depcomp '
 +check-local: test-distcom
  END
  
 -: > subdir/foo.c
 +cat > subdir/foo.c <<'END'
 +int main (void)
 +{
 +  return 0;
 +}
 +END
  
  $AUTOMAKE -a subdir/Makefile
  test -f depcomp
Simple merge
diff --cc t/fort5.sh
index f2267f3b21282c5599c9856f0977052abd0d3cbc,c5be2ab4ff3f05f231bdce0cdf4b19b764d77d80..517fb23ffe6ed13800c92071f84c55822e1ef628
@@@ -88,17 -88,20 +88,17 @@@ grep " --tag=FC" Makefile.i
  # ./configure may exit with status 77 if no compiler is found,
  # or if the compiler cannot compile Fortran 90 files).
  ./configure
 -$MAKE
 -subobjs=$(echo sub/*.lo)
 -test "$subobjs" = 'sub/*.lo'
 -$MAKE distcheck
  
 -# The following will be fixed in a later patch:
 -$MAKE distclean
 -echo 'AUTOMAKE_OPTIONS = subdir-objects' >> Makefile.am
 -$AUTOMAKE -a
 -./configure
  $MAKE
- test ! -f bar.lo
 +test -f sub/bar.lo
- test ! -f baz.lo
- test ! -f sub/libgoodbye_la-baz.lo
- test ! -f libgoodbye_la-baz.lo
+ test ! -e bar.lo
 +## The setting of FCFLAGS should only cause objects deriving from
 +## Fortran 90, not Fortran 77, to be renamed.
 +test -f sub/baz.lo
+ test ! -e baz.lo
++test ! -e sub/libgoodbye_la-baz.lo
+ test ! -e libgoodbye_la-baz.lo
 +
  $MAKE distcheck
  
  :
index 5d2d77685de6a73758376e89e5f88f65fa07594f,f31cdb78cdb39208e0e68d11924b6dc6f6d88643..4a68b7476a4dfb13d93354f90bdb0a178c91a895
@@@ -45,16 -45,16 +45,16 @@@ cd buil
  ../configure --prefix="$instdir"
  $MAKE
  
 -javadir=
 -export javadir
 -$MAKE -e install
 +xMAKE() { $MAKE javadir= "$@"; }
 +
 +xMAKE install
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install DESTDIR="$destdir"
 +xMAKE install DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  grep 'rm -f' stdout && exit 1
 -$MAKE -e uninstall DESTDIR="$destdir"
 +xMAKE uninstall DESTDIR="$destdir"
  
  :
index 0bcf58428edc7c770a29115d8d51dd9b269fff47,59bf8b0e48a8965c288af9ca06858865677c9d65..bbdcdb49a8f7a211e9e4b34b6ea5e3a849f44a7c
@@@ -42,16 -42,17 +42,16 @@@ cd buil
  ../configure --prefix="$instdir"
  $MAKE
  
 -lispdir=
 -export lispdir
 +xMAKE () { $MAKE lispdir= "$@"; }
  
 -$MAKE -e install
 +xMAKE install
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install DESTDIR="$destdir"
 +xMAKE install DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  grep 'rm -f' stdout && exit 1
 -$MAKE -e uninstall DESTDIR="$destdir"
 +xMAKE uninstall DESTDIR="$destdir"
  
  :
index 430fb74e0a30fb5ddf6c514e76fb33de30efebee,c6578e24c4b935f0efa0d6be6e98c71843930e94..136374b619fb8f3bba03c2132431cb9f737990a9
@@@ -68,14 -69,14 +68,14 @@@ cd buil
               am_cv_python_pyexecdir="$instdir/pyexec"
  $MAKE
  
 -bindir= libdir= pyexecdir=
 -export bindir libdir pyexecdir
 -$MAKE -e install
 +xMAKE() { $MAKE bindir= libdir= pyexecdir= "$@"; }
 +
 +xMAKE install
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install DESTDIR="$destdir"
 +xMAKE install DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  # Creative quoting below to please maintainer-check.
  grep 'rm'' ' stdout && exit 1
index 136e1e37c76a21055677164fc8c06fcb0888756a,bef179d533c31b2acd54939aefe8d470dc7cb04a..5223cd532fce22681659603171242f4dff9cd4b0
@@@ -106,16 -106,16 +106,16 @@@ doinst (
  
  ./configure --prefix="$cwd/inst"
  doinst
- test ! -d inst || { find inst; exit 1; }
+ test ! -e inst || { find inst; exit 1; }
  $MAKE uninstall
 -doinst bin_SCRIPTS=foo.sh AM_MAKEFLAGS='bin_SCRIPTS=foo.sh'
 +doinst bin_SCRIPTS=foo.sh
  test -f inst/bin/foo.sh
  
  ./configure
  doinst DESTDIR="$cwd/dest"
- test ! -d dest || { find dest; exit 1; }
+ test ! -e dest || { find dest; exit 1; }
  $MAKE uninstall
 -doinst DESTDIR="$cwd/dest" bin_SCRIPTS=foo.sh AM_MAKEFLAGS='bin_SCRIPTS=foo.sh'
 +doinst DESTDIR="$cwd/dest" bin_SCRIPTS=foo.sh
  test -f dest/usr/local/bin/foo.sh
  
  :
index 4eb1f695c155507e5b01ba4e0d2519846d14652f,ed0acc1305efdc3c3b32bdaa780acf9c4486efa1..957f6ef76696652fb30c29956a832573358cab24
@@@ -67,15 -68,14 +67,15 @@@ cd buil
               am_cv_python_pyexecdir="$instdir/pyexec"
  $MAKE
  
 -bindir= libdir= pyexecdir=
 +xMAKE () { $MAKE bindir= libdir= pyexecdir= "$@"; }
 +
  export bindir libdir pyexecdir
 -$MAKE -e install
 +xMAKE install
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install DESTDIR="$destdir"
 +xMAKE install DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  # Creative quoting below to please maintainer-check.
  grep 'rm'' ' stdout && exit 1
index 4fed80474815496d728945c3349aeef2a097699e,d57fb4b35550bedc9a5547e75347234260aaa061..384b3b05bf9f92379d4c2d3e640bec0e95d71fa6
@@@ -46,16 -46,17 +46,16 @@@ cd buil
  ../configure --prefix="$instdir"
  $MAKE
  
 -pythondir=
 -export pythondir
 +xMAKE () { $MAKE pythondir= "$@"; }
  
 -$MAKE -e install
 +xMAKE install
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install DESTDIR="$destdir"
 +xMAKE install DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  grep 'rm -f' stdout && exit 1
 -$MAKE -e uninstall DESTDIR="$destdir"
 +xMAKE uninstall DESTDIR="$destdir"
  
  :
index 146fa52384cb2096657e01b0d9e6193dd370b3c2,33bf6361eb5f907242422f743b31ee569c42a09e..1defda42e7c9d3df07c63fefe65898f971c70c60
@@@ -56,16 -56,18 +56,16 @@@ cd buil
  $MAKE all dvi ps pdf html
  ls -l
  
 -infodir= htmldir= dvidir= psdir= pdfdir=
 -export infodir htmldir dvidir psdir pdfdir
 +xMAKE () { $MAKE infodir= htmldir= dvidir= psdir= pdfdir= "$@"; }
  
 -$MAKE -e install install-html install-dvi install-ps install-pdf
 +xMAKE install install-html install-dvi install-ps install-pdf
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install install-html install-dvi install-ps install-pdf \
 -         DESTDIR="$destdir"
 +xMAKE install install-html install-dvi install-ps install-pdf DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  grep 'rm -f' stdout && exit 1
 -$MAKE -e uninstall DESTDIR="$destdir"
 +xMAKE uninstall DESTDIR="$destdir"
  
  :
diff --cc t/instdir.sh
index f35dcbf44b5806195d50639bfb31354978b79595,d0c25327101aac45b67fc19a26bc93cab6a4489d..a8338a941d9656f0f87aabd0d308bdffd4b36347
@@@ -55,19 -55,17 +55,19 @@@ cd buil
  ../configure --prefix="$instdir"
  $MAKE
  
 -bindir= datadir= includedir= foodir= bardir= man1dir= man2dir=
 -export bindir datadir includedir foodir bardir man1dir man2dir
 +xMAKE ()
 +{
 +  $MAKE bindir= datadir= includedir= foodir= bardir= man1dir= man2dir= "$@"
 +}
  
 -$MAKE -e install
 +xMAKE install
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install DESTDIR="$destdir"
 +xMAKE install DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  grep 'rm -f' stdout && exit 1
 -$MAKE -e uninstall DESTDIR="$destdir"
 +xMAKE uninstall DESTDIR="$destdir"
  
  :
diff --cc t/instdir2.sh
index 2393026bc387d7d780dc57284a5c0a66c998c353,51e78bedcbd33be7bb7f8ad466a33d0dede46a14..e791aa01abcf8da22c32bcdeeecb24f81a2a64ee
@@@ -77,19 -77,17 +77,19 @@@ cd buil
  ../configure --prefix="$instdir"
  $MAKE
  
 -bindir= datadir= includedir= foodir= bardir= man1dir= man2dir=
 -export bindir datadir includedir foodir bardir man1dir man2dir
 +xMAKE ()
 +{
 +  $MAKE bindir= datadir= includedir= foodir= bardir= man1dir= man2dir= "$@"
 +}
  
 -$MAKE -e install
 +xMAKE install
- test ! -d "$instdir"
+ test ! -e "$instdir"
 -$MAKE -e install DESTDIR="$destdir"
 +xMAKE install DESTDIR="$destdir"
- test ! -d "$instdir"
- test ! -d "$destdir"
+ test ! -e "$instdir"
+ test ! -e "$destdir"
 -$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
 +xMAKE uninstall > stdout || { cat stdout; exit 1; }
  cat stdout
  grep 'rm -f' stdout && exit 1
 -$MAKE -e uninstall DESTDIR="$destdir"
 +xMAKE uninstall DESTDIR="$destdir"
  
  :
diff --cc t/lex3.sh
Simple merge
diff --cc t/libtoo10.sh
index 78d150aa9c165e62bb799d53b9274ef474cac59e,c84ddb8a6cdf33bd4b9aca62b5b9fa1c0d252711..3fd8444cde6630e2e0ccedd2f88b37536ae821d3
@@@ -56,23 -52,11 +56,23 @@@ $AUTOMAKE --add-missin
  $AUTOCONF
  ./configure
  $MAKE all check
 +: > lib/so_locations
 +: > src/so_locations
  $MAKE clean
- test ! -d src/.libs
- test ! -d src/_libs
- test ! -d check/.libs
- test ! -d check/_libs
 +ls *.lo && exit 1
 +test -f libtool
- test ! -f lib/so_locations
+ test ! -e src/.libs
+ test ! -e src/_libs
+ test ! -e check/.libs
+ test ! -e check/_libs
 +test -f src/so_locations
++test ! -e lib/so_locations
 +# No libtool libraries created in this directory, our rules
 +# shouldn't bother about possible linker files in it.
 +test -f src/so_locations
  $MAKE distcheck
  
 +$MAKE distclean
 +test ! -f libtool
 +
  :
diff --cc t/maken3.sh
index 3dca8a602581913a1175f4a058fe70ff1176a0af,6d580eca8914b528da8d89a86335862504ab624d..b1875cbe151b5b7ed888f49082cc7f9a9ce4564b
@@@ -132,22 -149,28 +132,22 @@@ check_targets (
      case $target in
      install-* | installdirs | tags | TAGS ) ;;
      *)
 -      if $have_dotmake; then
 -        grep "stamp-$target$" stdout || exit 1
 -      fi
 +      grep "stamp-$target$" stdout || exit 1
-       test ! -f "stamp-$target$" || exit 1
+       test ! -e "stamp-$target" || exit 1
        ;;
      esac
      case $target in
      install-* | installdirs ) ;;
      *)
 -      if $have_dotmake; then
 -        grep "stamp-$target-sub" stdout || exit 1
 -      fi
 +      grep "stamp-$target-sub" stdout || exit 1
-       test ! -f "sub/stamp-$target-sub" || exit 1
+       test ! -e "sub/stamp-$target-sub" || exit 1
        ;;
      esac
      case $target in
      distclean | maintainer-clean ) ;;
      *)
 -      if $have_dotmake; then
 -        grep "should-not-be-executed" stdout || exit 1
 -      fi
 +      grep "should-not-be-executed" stdout || exit 1
-       test ! -f "sub2/sub2-$target-should-not-be-executed" || exit 1
+       test ! -e "sub2/sub2-$target-should-not-be-executed" || exit 1
        ;;
      esac
    done
index c6dbee2a9df8b95dc4ef2a689b354a9491f43506,22a5aadb1ed858cfaf0b9282dcc4e28cade270f2..f90258781a76b71ec2b12dbeaf4b5f2734ba91d3
@@@ -53,19 -56,11 +53,19 @@@ touch x y.bin a.test b.test.bi
  $MAKE check
  ls -l # For debugging.
  test -f y.log
- test ! -r y.bin.log
+ test ! -e y.bin.log
  test -f b.log
- test ! -r b.test.log
+ test ! -e b.test.log
  
 -$EGREP '^y\.log: y(\$\(EXEEXT\)|\.bin)' Makefile
 -$EGREP '^\.test(\$\(EXEEXT\)|\.bin)\.log:' Makefile
 +# Opportunistically check that we are not forced to specify
 +# the test suffixes nor the $(EXEEXT) suffix when overriding
 +# TESTS on the command line.
 +rm -f *.log *.trs
 +
 +$MAKE check TESTS='y a b'
 +ls -l # For debugging.
 +test -f a.log
 +test -f b.log
 +test -f y.log
  
  :
Simple merge
index 7aa3020a190e066a74f413ede8d3dbba1c47acb9,e4af517def8ffc401f91f36a1d02155f48cc12c6..940823f4074b9e4c2fc555ba76c36ed9a2c9be5c
@@@ -76,9 -76,9 +76,9 @@@ $MAKE clea
  test -f test-suite.log && exit 99 # Sanity check.
  
  # Check that we can override the testsuite log file at runtime.
 -TEST_SUITE_LOG=zardoz.log $MAKE -e check
 +$MAKE check TEST_SUITE_LOG=zardoz.log
  ls -l
- test ! -f test-suite.log
+ test ! -e test-suite.log
  cat zardoz.log
  test_log_expected zardoz.log
  # Sanity check the distribution too (this also does minimal checks on
@@@ -88,9 -88,9 +88,9 @@@ $MAKE distcheck TEST_SUITE_LOG=zardoz.l
  # Check that cleanup rules remove the correct file even when
  # user overrides are in place.
  cp orig test-suite.log
 -TEST_SUITE_LOG=zardoz.log $MAKE -e clean
 +$MAKE clean TEST_SUITE_LOG=zardoz.log
  ls -l
- test ! -f zardoz.log
+ test ! -e zardoz.log
  diff orig test-suite.log
  
  # Check that the default testsuite log doesn't get unduly modified.
@@@ -101,9 -101,9 +101,9 @@@ $MAKE check TEST_SUITE_LOG=TheLogFil
  ls -l
  diff orig test-suite.log
  test_log_expected TheLogFile
 -TEST_SUITE_LOG=TheLogFile $MAKE -e clean
 +$MAKE clean TEST_SUITE_LOG=TheLogFile
  ls -l
- test ! -f TheLogFile
+ test ! -e TheLogFile
  diff orig test-suite.log
  
  :
Simple merge
index 4c2d75243e999a8cdb3cac436e784f167883eb5d,ae9bd38b69c3f39aaac63f88b63ed30cb5ded8f0..7d57640b6869038ee644e164bf7dde8ed811d939
@@@ -121,18 -121,18 +121,18 @@@ test ! -e mylog.htm
  # and recheck-html should rerun no tests if check has not been run.
  
  $MAKE clean
- test ! -f mylog.html
+ test ! -e mylog.html
 -env TEST_LOGS=foo.log $MAKE -e check-html
 +$MAKE check-html TEST_LOGS=foo.log
  test -f bla
  test -f foo.log
- test ! -f bar.log
- test ! -f baz.log
+ test ! -e bar.log
+ test ! -e baz.log
  test -f mylog.html
  
  $MAKE clean
 -env TESTS=foo.test $MAKE -e recheck-html
 +$MAKE recheck-html TESTS=foo.test
  test -f bla
- test ! -f foo.log
+ test ! -e foo.log
  test -f mylog.html
  
  $MAKE clean
Simple merge
diff --cc t/pr401.sh
index 1f06d20560146208d7019a77e6e5679ab7d5fa8d,b1044760fa9974034401d16b584cba85a8eb9f10..28aa16ab6315c046231da39929465a609dd304de
@@@ -100,9 -100,20 +100,9 @@@ $ACLOCA
  $AUTOCONF
  $AUTOMAKE
  ./configure
- test ! -d lib/lib
+ test ! -e lib/lib
  $MAKE distcheck
  
 -## -------------------------------------------- ##
 -## Error message with usage in wrong directory. ##
 -## -------------------------------------------- ##
 -
 -mv -f src/Makefile.am src/t
 -sed 's/LDADD = .*/LDADD = @LIBOBJS@/' src/t > src/Makefile.am
 -AUTOMAKE_fails
 -grep 'cannot be used outside.*lib' stderr
 -mv -f src/t src/Makefile.am
 -
 -
  ## -------------------------------------------- ##
  ## Test using LIBOBJS from a sibling directory. ##
  ## -------------------------------------------- ##
diff --cc t/pr401b.sh
index 36a32df8dd8b988fd365795719cacfab5acfcbf1,5d0adc08fef6c8be8768205338af11e675e59a50..997b04590eeef66d23f9b8db0f0fc76ea68cd2ba
@@@ -101,9 -101,18 +101,9 @@@ $ACLOCA
  $AUTOCONF
  $AUTOMAKE -a
  ./configure
- test ! -d lib/lib
+ test ! -e lib/lib
  $MAKE distcheck
  
 -## -------------------------------------------- ##
 -## Error message with usage in wrong directory. ##
 -## -------------------------------------------- ##
 -
 -mv -f src/Makefile.am src/t
 -sed 's/LDADD = .*/LDADD = @LTLIBOBJS@/' src/t > src/Makefile.am
 -AUTOMAKE_fails
 -grep 'cannot be used outside.*lib' stderr
 -mv -f src/t src/Makefile.am
  
  ## ---------------------------------------------- ##
  ## Test using LTLIBOBJS from a sibling directory. ##
diff --cc t/pr401c.sh
index d2efaa9504341c1f8f416368c7f8686a9b7a10d8,3336f13a69521523642b919a2a759fb87e0752c0..19d275f5bca91abedacc46ac4884053ae952c898
@@@ -102,9 -102,19 +102,9 @@@ $ACLOCA
  $AUTOCONF
  $AUTOMAKE
  ./configure
- test ! -d lib/lib
+ test ! -e lib/lib
  $MAKE distcheck
  
 -## -------------------------------------------- ##
 -## Error message with usage in wrong directory. ##
 -## -------------------------------------------- ##
 -
 -mv -f src/Makefile.am src/t
 -sed 's/LDADD = .*/LDADD = @ALLOCA@/' src/t > src/Makefile.am
 -AUTOMAKE_fails
 -grep 'cannot be used outside.*lib' stderr
 -mv -f src/t src/Makefile.am
 -
  
  ## ------------------------------------------- ##
  ## Test using ALLOCA from a sibling directory. ##
index 9e2c39ea4195ea6eeafea2cb6688f418a7dbda88,51ae78e2851ddb709d54c210130e4a2cc4e04288..cc5ace05d760323dae9debb7e9f5457f5057dc07
@@@ -161,16 -161,14 +161,16 @@@ $MAKE distclea
  
  # Overriding pythondir and pyexecdir at make time should be enough.
  ./configure --prefix="$cwd/bad-prefix"
 -pythondir=$py_site pyexecdir=$py_site
 +
 +xMAKE () { $MAKE pythondir="$py_site" pyexecdir="$py_site" "$@"; }
 +
  export pythondir pyexecdir
 -$MAKE -e install
 +xMAKE install
- test ! -d bad-prefix
+ test ! -e bad-prefix
 -$MAKE -e test-install
 -$MAKE test-run
 -$MAKE -e uninstall
 -$MAKE -e test-uninstall
 +xMAKE test-install
 +xMAKE test-run
 +xMAKE uninstall
 +xMAKE test-uninstall
  unset pythondir pyexecdir
  
  # Also check that the distribution is self-contained, for completeness.
Simple merge
index 36bb3eccec9404ae453119a27d4e2177852923c6,9044a04abe29a7d81253880c488d1cce03f725d3..ec94af55c809b10dc289f1e9fde421425dd243a2
@@@ -111,9 -111,10 +111,9 @@@ for vpath in : false; d
    diff $srcdir/macros.m4 t && fatal_ "failed to edit macros.m4"
    mv -f t $srcdir/macros.m4
  
 -  using_gmake || $MAKE Makefile
    $MAKE
    ls -l
-   test ! -f stdio.h
+   test ! -e stdio.h
  
    # And now simulate that we want our custom stdio.h back.
  
Simple merge
index 9336faefe4a9b2dc09598b644e2afc5050d919a1,378aa2660f809be164e142c351ef3c800acfc56e..8ebe56355f371436fd3c694fedba279cbf9d1be3
@@@ -50,8 -50,9 +50,8 @@@ $slee
  rm -f has-run-1 bar.am
  echo 'all-local:; echo ok > has-run-2' > zardoz.am
  echo 'include $(srcdir)/zardoz.am' > Makefile.am
 -using_gmake || $MAKE Makefile
  $MAKE
- test ! -f has-run-1
+ test ! -e has-run-1
  test -f has-run-2
  
  :
index 27044d3d198bc28362e37c9dbb8fab7d088868f9,ee25c5894283a54cab62c9fba9310c212e69b589..666cf4cd06f47c54857967aadcec0ea70db00d66
@@@ -54,9 -55,10 +54,9 @@@ $MAKE tes
  $MAKE distdir
  ls -l $distdir $distdir/*
  test -f $distdir/m4/bar.m4
- test ! -f $distdir/m4/foo.m4
+ test ! -e $distdir/m4/foo.m4
  
  mv m4/macros.m4 m4/defs.m4
 -using_gmake || $MAKE Makefile
  $MAKE test
  $MAKE distdir
  ls -l $distdir $distdir/*
Simple merge
diff --cc t/remake8a.sh
Simple merge
diff --cc t/remake8b.sh
Simple merge
index 0eea68499f59769e0b11365d2fadeaba449e4fa3,c300996f89e80ce1d8e05cba40feec4905ad5e4e..69a9cb4750f017f401b04c2bc34e967e2aa26423
@@@ -28,20 -30,53 +28,20 @@@ AC_OUTPU
  END
  
  cat > Makefile.am <<'END'
 -AUTOMAKE_OPTIONS = parallel-tests subdir-objects subdir-objects
 -AUTOMAKE_OPTIONS += dist-bzip2 parallel-tests
 -TESTS = foo.test
 -EXTRA_DIST = $(TESTS)
 -TESTS_ENVIRONMENT = EXEEXT='$(EXEEXT)'
 -bin_PROGRAMS = sub/foo
 -.PHONY: test-build
 -test-build:
 -      ls -l . sub
 -      test -f sub/foo.$(OBJEXT)
 -      test -f sub/foo$(EXEEXT)
 +AUTOMAKE_OPTIONS = no-dist-gzip no-dist-gzip dist-bzip2
 +AUTOMAKE_OPTIONS += dist-bzip2 foreign
  END
  
 -mkdir sub
 -
 -cat > foo.test <<'END'
 -#!/bin/sh
 -test -f sub/foo$EXEEXT && test -x sub/foo$EXEEXT
 -END
 -chmod a+x foo.test
 -
 -cat > sub/foo.c <<'END'
 -int main (void)
 -{
 -  return 0;
 -}
 -END
 -
 -cp "$am_scriptdir"/compile "$am_scriptdir"/test-driver .
 -
  $ACLOCAL
 -$AUTOMAKE --foreign --foreign -Wall 2>stderr || { cat stderr >&2; exit 1; }
 -test -s stderr && { cat stderr >&2; exit 1; }
 -rm -f stderr
  $AUTOCONF
 +$AUTOMAKE --foreign --foreign -Wall 2>stderr && test ! -s stderr \
 +  || { cat stderr >&2; exit 1; }
  
  ./configure
 +
  $MAKE
 -$MAKE test-build
 -$MAKE check
 -ls -l
 -test -f foo.log
 -test -f test-suite.log
 -$MAKE clean
  $MAKE distcheck
 -ls -l
  test -f $me-1.0.tar.bz2
- test ! -r $me-1.0.tar.gz
+ test ! -e $me-1.0.tar.gz
  
  :
index 2bbe82d81873afbf07dc47573f8ebb9b3ba744b4,94555a6d9aa427323298705895d0fe4c021cac77..4a228d7eaabf6c8449004a5e4907bc68e75a436e
@@@ -66,10 -65,8 +65,8 @@@ do_check 'do not pre-populate testdir' 
  
  do_check 'do not create nor chdir in testdir' \
           'am_create_testdir=no' \
-          'test ! -d t/_self.dir || exit 1
-           test ! -f t/_self.dir || exit 1
-           test ! -r t/_self.dir || exit 1
+          'test ! -e t/_self.dir || exit 1
 -          grep "self-check-dir\.tap" Makefile || exit 1
 +          grep "compare-autodiffs" Makefile || exit 1
            case $(pwd) in '"$cwd"') : ;; *) exit 1;; esac'
  
  :
Simple merge
Simple merge
Simple merge
index 52b896b837c051d91f98e13de3de7682aa98aff4,0ce1a7c23621d591a79ca433aac9ce400fc333f3..fe170ef6342d93ba5c7e95a8756a2a70b5df17c6
@@@ -125,10 -117,13 +125,10 @@@ test -f compil
  
  ./configure
  
 -$MAKE dist
 -test -f lib-dist-hook-has-run
 +$MAKE
 +$MAKE distcheck
 +test -f lib-dist-hook-has-run # Sanity check
  test -f subpack-1.tar.gz
- test ! -d subpack-1 # Make sure "distcheck" cleans up after itself.
 -test ! -e subpack-1 # Make sure "dist" cleans up after itself.
 -
 -rm -f lib-dist-hook-has-run subpack-1.tar.gz
 -
 -yl_distcheck
++test ! -e subpack-1 # Make sure "distcheck" cleans up after itself.
  
  :
diff --cc t/subpkg.sh
index 4f86072f973806817f850ef6b3ccc302478afcea,c8ce125b686bdffa832d9a9b5a5016c54b25224e..79c51dae768b11fddf234d3cceebfac6f07e2dd1
@@@ -107,13 -104,10 +107,13 @@@ $AUTOHEADE
  $AUTOMAKE -Wno-override --add-missing
  cd ..
  
 -./configure
 +./configure >stdout || { cat stdout; exit 1; }
 +cat stdout
 +grep '^checking whether cc understands -c and -o together' stdout
 +
  $MAKE
  $MAKE distcheck
- test ! -d subpack-1 # Make sure distcheck cleans up after itself.
+ test ! -e subpack-1 # Make sure distcheck cleans up after itself.
  test -f subpack-1.tar.gz
  
  :
diff --cc t/suffix3.sh
index f569c528c11733340676779f2ac55dcfdc0dd2a9,0000000000000000000000000000000000000000..4688e53579aa853478304471ebabb9d052c3820a
mode 100755,000000..100755
--- /dev/null
@@@ -1,69 -1,0 +1,68 @@@
 +#! /bin/sh
 +# Copyright (C) 1999-2012 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, 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, see <http://www.gnu.org/licenses/>.
 +
 +# Test to make sure that suffix rules chain.
 +
 +required=c++
 +. ./defs || exit 1
 +
 +cat >> configure.ac << 'END'
 +AC_PROG_CXX
 +AC_OUTPUT
 +END
 +
 +cat > Makefile.am << 'END'
 +%.cc: %.zoo
 +      sed 's/INTEGER/int/g' $< >$@
 +bin_PROGRAMS = zardoz
 +nodist_zardoz_SOURCES = foo.cc
 +EXTRA_DIST = foo.zoo
 +CLEANFILES = foo.cc
 +END
 +
 +$ACLOCAL
 +$AUTOMAKE
 +
 +# Automake has been clearly told that foo.zoo is eventually transformed
 +# into foo.o, and to use this latter file (to link foo).
 +$FGREP 'foo.$(OBJEXT)' Makefile.in
 +# Finally, our dummy package doesn't use C in any way, so it the
 +# Makefile shouldn't contain stuff related to the C compiler.
 +$FGREP '$(LINK)'   Makefile.in && exit 1
 +$FGREP 'AM_CFLAGS' Makefile.in && exit 1
 +$FGREP '$(CFLAGS)' Makefile.in && exit 1
 +$FGREP '$(CC)'     Makefile.in && exit 1
 +
- test ! -r $me-1.0/foo.cc
 +$AUTOCONF
 +./configure
 +
 +# This is deliberately valid C++, but invalid C.
 +cat > foo.zoo <<'END'
 +using namespace std;
 +INTEGER main (void)
 +{
 +  return 0;
 +}
 +END
 +
 +$MAKE all
 +$MAKE distcheck
 +
 +# Intermediate files should not be distributed.
 +$MAKE distdir
++test ! -e $me-1.0/foo.cc
 +
 +:
diff --cc t/tap-basic.sh
Simple merge
diff --cc t/tap-log.sh
index d5f113ed3d87b41956706e703a161027ece17c0f,32cb475e95d93aede2584385aec25aeb5c169123..d39965a03a8c163c390cd491ccecbfe510f62d68
@@@ -85,10 -85,10 +85,10 @@@ EN
  
  chmod a+x *.test
  
 -TEST_SUITE_LOG=my.log $MAKE -e check && exit 1
 +$MAKE check TEST_SUITE_LOG=my.log && exit 1
  ls -l # For debugging.
- test ! -f test-suite.log
- test ! -f global.log
+ test ! -e test-suite.log
+ test ! -e global.log
  test -f my.log
  st=0
  for result in pass fail xfail xpass skip error; do
@@@ -116,15 -116,15 +116,15 @@@ $FGREP 'xpass.test' my.lo
  $FGREP 'error.test' my.log
  
  touch error2.log test-suite.log global.log
 -TEST_SUITE_LOG=my.log $MAKE -e mostlyclean
 +$MAKE mostlyclean TEST_SUITE_LOG=my.log
  ls -l # For debugging.
- test ! -f my.log
- test ! -f pass.log
- test ! -f fail.log
- test ! -f xfail.log
- test ! -f xpass.log
- test ! -f skip.log
- test ! -f error.log
+ test ! -e my.log
+ test ! -e pass.log
+ test ! -e fail.log
+ test ! -e xfail.log
+ test ! -e xpass.log
+ test ! -e skip.log
+ test ! -e error.log
  # "make mostlyclean" shouldn't remove unrelated log files.
  test -f error2.log
  test -f test-suite.log
diff --cc t/tap-more.sh
Simple merge
Simple merge
index fa5feee9a94f43eb917235481d8d3a26025bbf36,623cbad4b71f864cf02be1f87f1de23cbf004381..a622c237f0908cc3d4a59619dbbb696708dc3a17
@@@ -92,58 -93,64 +92,56 @@@ for vpath in : false; d
  
    rm -f *.run
  
 -  : An empty '$(TESTS)' or '$(TEST_LOGS)' means that no test should be run.
 -  for var in TESTS TEST_LOGS; do
 -    env "$var=" $MAKE -e recheck >stdout || { cat stdout; exit 1; }
 -    cat stdout
 -    count_test_results total=0 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=0
 -    test ! -e a.run
 -    test ! -e b.run
 -    test ! -e c.run
 -  done
 -  unset var
 +  : An empty '$(TESTS)' means that no test should be run.
 +  $MAKE TESTS= recheck >stdout || { cat stdout; exit 1; }
 +  cat stdout
 +  count_test_results total=0 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=0
-   test ! -r a.run
-   test ! -r b.run
-   test ! -r c.run
++  test ! -e a.run
++  test ! -e b.run
++  test ! -e c.run
  
    : a.test was successful the first time, no need to re-run it.
 -  env TESTS=a.test $MAKE -e recheck >stdout \
 -    || { cat stdout; exit 1; }
 +  $MAKE TESTS=a.test recheck >stdout || { cat stdout; exit 1; }
    cat stdout
    count_test_results total=0 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=0
-   test ! -r a.run
-   test ! -r b.run
-   test ! -r c.run
+   test ! -e a.run
+   test ! -e b.run
+   test ! -e c.run
  
    : b.test failed, it should be re-run.  And make it pass this time.
    echo OK > b.ok
 -  TEST_LOGS=b.log $MAKE -e recheck >stdout \
 -    || { cat stdout; exit 1; }
 +  $MAKE TESTS=b recheck >stdout || { cat stdout; exit 1; }
    cat stdout
-   test ! -r a.run
+   test ! -e a.run
    test -f b.run
-   test ! -r c.run
+   test ! -e c.run
    count_test_results total=2 pass=0 fail=0 xpass=0 xfail=1 skip=1 error=0
  
    rm -f *.run
  
    : No need to re-run a.test or b.test anymore.
 -  TEST_LOGS=b.log $MAKE -e recheck >stdout \
 -    || { cat stdout; exit 1; }
 +  $MAKE TESTS=b recheck >stdout || { cat stdout; exit 1; }
    cat stdout
    count_test_results total=0 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=0
-   test ! -r a.run
-   test ! -r b.run
-   test ! -r c.run
+   test ! -e a.run
+   test ! -e b.run
+   test ! -e c.run
 -  TESTS='a.test b.test' $MAKE -e recheck >stdout \
 -    || { cat stdout; exit 1; }
 +  $MAKE TESTS='a.test b.test' recheck >stdout || { cat stdout; exit 1; }
    cat stdout
    count_test_results total=0 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=0
-   test ! -r a.run
-   test ! -r b.run
-   test ! -r c.run
+   test ! -e a.run
+   test ! -e b.run
+   test ! -e c.run
  
    : No need to re-run a.test anymore, but c.test should be rerun,
    : as it contained an XPASS.  And this time, make it fail with
    : an hard error.
-   # Use 'echo' here, since Solaris 10 /bin/sh would try to optimize
-   # a ':' away after the first iteration, even if it is redirected.
    echo dummy > c.err
 -  env TEST_LOGS='a.log c.log' $MAKE -e recheck >stdout \
 -    && { cat stdout; exit 1; }
 +  $MAKE TESTS='a.test c' recheck >stdout && { cat stdout; exit 1; }
    cat stdout
    count_test_results total=1 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=1
-   test ! -r a.run
-   test ! -r b.run
+   test ! -e a.run
+   test ! -e b.run
    test -f c.run
  
    rm -f *.run *.err
    : This time, make it pass
    # Use 'echo', not ':'; see comments above for why.
    echo dummy > c.ok
 -  env TESTS='c.test a.test' $MAKE -e recheck >stdout \
 -    || { cat stdout; exit 1; }
 +  $MAKE TESTS='c.test a.test' recheck >stdout || { cat stdout; exit 1; }
    cat stdout
    count_test_results total=1 pass=1 fail=0 xpass=0 xfail=0 skip=0 error=0
-   test ! -r a.run
-   test ! -r b.run
+   test ! -e a.run
+   test ! -e b.run
    test -f c.run
  
    rm -f *.run *.err *.ok
Simple merge
Simple merge
diff --cc t/test-log.sh
index 6d453d83c054a474d9d12bbc53fc99c53dce4216,0ae77b391a704f9dbf32b9492ad6e4135261a358..84a7b15d94b10bcad4bd02ede26315bd94308984
@@@ -88,10 -88,10 +88,10 @@@ $AUTOMAKE -
  
  ./configure
  
 -TEST_SUITE_LOG=my.log $MAKE -e check && exit 1
 +$MAKE TEST_SUITE_LOG=my.log check && exit 1
  ls -l # For debugging.
- test ! -f test-suite.log
- test ! -f global.log
+ test ! -e test-suite.log
+ test ! -e global.log
  test -f my.log
  st=0
  for result in pass fail xfail xpass skip error; do
@@@ -130,15 -130,15 +130,15 @@@ have_rst_section 'XPASS: xpass' my.lo
  have_rst_section 'ERROR: error' my.log
  
  touch error2.log test-suite.log global.log
 -TEST_SUITE_LOG=my.log $MAKE -e mostlyclean
 +$MAKE TEST_SUITE_LOG=my.log mostlyclean
  ls -l # For debugging.
- test ! -f my.log
- test ! -f pass.log
- test ! -f fail.log
- test ! -f xfail.log
- test ! -f xpass.log
- test ! -f skip.log
- test ! -f error.log
+ test ! -e my.log
+ test ! -e pass.log
+ test ! -e fail.log
+ test ! -e xfail.log
+ test ! -e xpass.log
+ test ! -e skip.log
+ test ! -e error.log
  # "make mostlyclean" shouldn't remove unrelated log files.
  test -f error2.log
  test -f test-suite.log
index 12bb22980897ff87afe892bd5eee373bbbd29f60,7cf1d52af6a26cf2b2ce7a7155d08588b8ec96ae..fb7974c4eb652c4b9ec1a5fb51fc857944181a09
@@@ -35,22 -37,24 +35,22 @@@ $AUTOMAKE -
  
  ./configure
  
 -$MAKE check >output 2>&1 && { cat output; exit 1; }
 -cat output
 +$MAKE check >stdout 2>stderr && { cat stdout; cat stderr >&2; exit 1; }
 +cat stdout; cat stderr >&2
  test -f ok.log
 -grep '^PASS: ok\.test' output
 -$FGREP 'zardoz.log' output
 +grep '^PASS: ok\.test' stdout
 +$FGREP 'zardoz.log' stderr
- test ! -f test-suite.log
+ test ! -e test-suite.log
  
 -TESTS='zardoz2.test' $MAKE -e check >output 2>&1 \
 -  && { cat output; exit 1; }
 -cat output
 -$FGREP 'zardoz2.log' output
 +$MAKE TESTS='zardoz2.test' check 2>stderr && { cat stderr >&2; exit 1; }
 +cat stderr
 +$FGREP 'zardoz2.log' stderr
- test ! -f test-suite.log
+ test ! -e test-suite.log
  
 -TEST_LOGS='zardoz3.log' $MAKE -e check >output 2>&1 \
 -  && { cat output; exit 1; }
 -cat output
 -$FGREP 'zardoz3.log' output
 +$MAKE TESTS='zardoz3' check 2>stderr && { cat stderr >&2; exit 1; }
 +cat stderr >&2
 +$FGREP 'zardoz3.log' stderr
- test ! -f test-suite.log
+ test ! -e test-suite.log
  
  # The errors should persist even after 'test-suite.log'
  # has been created.
@@@ -59,9 -63,9 +59,9 @@@
  $MAKE check
  rm -f zardoz.test
  
 -$MAKE check >output 2>&1 && { cat output; exit 1; }
 -cat output
 -$FGREP 'zardoz.log' output
 +$MAKE check 2>stderr && { cat stderr >&2; exit 1; }
 +cat stderr >&2
 +$FGREP 'zardoz.log' stderr
- test ! -f test-suite.log
+ test ! -e test-suite.log
  
  :
index 0f039bc99b61f614762840ca9d491f0f06975b38,f0c30b876246e87b6b43405931e265e6c0c7057e..7947e639dbc1bdce56926b62d29f08695b616d4f
@@@ -113,45 -113,45 +113,45 @@@ test -f unrelated.tr
  test -f sub/foo.trs
  
  #
 -# Try with a subset of TESTS.
 +# Try with a subset of TESTS, complete with test extensions.
  #
  
 -TESTS=foo.test $MAKE -e check
 +$MAKE TESTS=foo.test check
  test -f foo.trs
- test ! -f bar.trs
- test ! -f sub/zardoz.trs
+ test ! -e bar.trs
+ test ! -e sub/zardoz.trs
  $MAKE clean
- test ! -f foo.trs
+ test ! -e foo.trs
 -TESTS='foo.test bar.sh' $MAKE -e check
 +$MAKE TESTS='foo.test bar.sh' check
  test -f foo.trs
  test -f bar.trs
- test ! -f sub/zardoz.trs
+ test ! -e sub/zardoz.trs
  # "make clean" shouldn't remove '.trs' files for tests not in $(TESTS).
 -TESTS=bar.sh $MAKE -e clean
 +$MAKE TESTS=bar.sh clean
  test -f foo.trs
- test ! -f bar.trs
+ test ! -e bar.trs
  
  $MAKE clean
  
  #
 -# Try with a subset of TEST_LOGS.
 +# Try with a subset of TESTS, omitting the test extensions.
  #
  
 -TEST_LOGS=sub/zardoz.log $MAKE -e check
 +$MAKE TESTS=sub/zardoz check
- test ! -f foo.trs
- test ! -f bar.trs
+ test ! -e foo.trs
+ test ! -e bar.trs
  test -f sub/zardoz.trs
  $MAKE clean
- test ! -f sub/zardoz.trs
+ test ! -e sub/zardoz.trs
 -TEST_LOGS='foo.log bar.log' $MAKE -e check
 +$MAKE TESTS='foo bar' check
  test -f foo.trs
  test -f bar.trs
- test ! -f sub/zardoz.trs
+ test ! -e sub/zardoz.trs
 -# "make clean" shouldn't remove '.trs' files for tests whose log
 -# is not in $(TEST_LOGS).
 -TEST_LOGS=foo.log $MAKE -e clean
 +# "make clean" shouldn't remove '.trs' files for tests that are not
 +# in is not in $(TESTS).
 +$MAKE TESTS=foo clean
- test ! -f foo.trs
+ test ! -e foo.trs
  test -f bar.trs
- test ! -f sub/zardoz.trs
+ test ! -e sub/zardoz.trs
  
  :
index 1c24cef03e0c43629eee6693c29828148760c4f1,95a9ddcec5d722204c22bc6cd2a27328e2df2270..c782b91183bff20ea062a9f3190dd83835855a4c
@@@ -95,17 -95,17 +95,17 @@@ grep '^PASS: baz\.test' stdou
  
  : Recreate with a "make check" with redefined TESTS.
  rm -f foo.trs bar.trs baz.trs
 -TESTS=foo.test $MAKE -e check
 +$MAKE TESTS=foo.test check
  test -f foo.trs
- test ! -f bar.trs
- test ! -f baz.trs
+ test ! -e bar.trs
+ test ! -e baz.trs
  
 -: Recreate with a "make check" with redefined TEST_LOGS.
 +: Recreate with a "make check" with redefined suffix-less TESTS.
  rm -f foo.trs bar.trs baz.trs
 -TEST_LOGS=bar.log $MAKE -e check
 +$MAKE TESTS=bar check
- test ! -f foo.trs
+ test ! -e foo.trs
  test -f bar.trs
- test ! -f baz.trs
+ test ! -e baz.trs
  
  : Interactions with "make recheck" are OK.
  rm -f foo.trs bar.trs baz.log baz.trs
diff --cc t/txinfo20.sh
index 45acc7504954950c6b4f875496f89c5a01e9aab9,3d644f5bbcb41732191cdb62085d6d6e58215be0..6faba384933295c685973a37a9eaa3a11a23b9f5
@@@ -70,9 -70,9 +70,9 @@@ test -f main.info-
  cp main.texi sub/main.texi
  mv main.old main.texi
  $MAKE && exit 1
 -test -f main
 -test ! -e main-1
 -test -f sub/main
 -test -f sub/main-1
 +test -f main.info
- test ! -f main.info-1
++test ! -e main.info-1
 +test -f sub/main.info
 +test -f sub/main.info-1
  
  :
diff --cc t/txinfo21.sh
index 62cdfe7bfc667ca62e105b1c10ee688dbc740cb6,b6c222f1921ff55e5c10b956fa076576e0113f99..001d134a750c47a9770efbb0a72775f54377a669
@@@ -100,12 -103,12 +103,12 @@@ $MAKE htm
  is_newest main.html main.texi
  
  $MAKE clean
- test ! -d main.html
- test ! -d sub/main2.html
- test ! -d rec/main3.html
+ test ! -e main.html
+ test ! -e sub/main2.html
+ test ! -e rec/main3.html
  
  # Test production of a single HTML file.
 -MAKEINFOFLAGS=--no-split $MAKE -e html
 +$MAKE MAKEINFOFLAGS=--no-split html
  test -f main.html
  test -f sub/main2.html
  test -f rec/main3.html
index 14e3219dbd2e1d3e10874fbf6961a1144e50f346,230832cb3716302373ac0088de3019377d4adb1a..16f86b1fe0e347d808bdd4d8b66aaa86015c47ba
@@@ -73,24 -73,25 +73,24 @@@ f
  chmod a-rwx $inst/share
  (cd $inst/share) && skip_ "cannot make directories fully unreadable"
  
 -$MAKE uninstall >output 2>&1 && { cat output; exit 1; }
 -cat output
 +$MAKE uninstall 2>stderr && { cat stderr >&2; exit 1; }
  #
- # Some shells, like Solaris 10 /bin/sh and /bin/ksh, do not report
- # the name of the 'cd' builtin upon a chdir error:
+ # Some shells, like Solaris 10 /bin/ksh and /usr/xpg4/bin/sh, do not
+ # report the name of the 'cd' builtin upon a chdir error:
  #
- #   $ /bin/sh -c 'cd /none'
- #   /bin/sh: /none: does not exist
+ #   $ /bin/ksh -c 'cd /none'
+ #   /bin/ksh: /none: not found
  #
- # In addition, some shells, like Solaris 10 /usr/xpg4/bin/sh, also print
- # a line number in the error message *if the command contains newlines*:
+ # and also print a line number in the error message *if the command
+ # contains newlines*:
  #
- #   $ /usr/xpg4/bin/sh -c 'cd unreadable'
- #   /usr/xpg4/bin/sh: unreadable: permission denied
- #   $ /usr/xpg4/bin/sh -c '\
+ #   $ /bin/ksh -c 'cd unreadable'
+ #   /bin/ksh: unreadable: permission denied
+ #   $ /bin/ksh -c '\
  #   > \
  #   > cd unreadable'
- #   /usr/xpg4/bin/sh[3]: unreadable: permission denied
+ #   /bin/ksh[3]: unreadable: permission denied
  #
 -$EGREP "(cd|sh)(\[[0-9]*[0-9]\])?: .*$inst/share" output
 +$EGREP "(cd|sh)(\[[0-9]*[0-9]\])?: .*$inst/share" stderr
  
  :
Simple merge
Simple merge
diff --cc t/vala-vpath.sh
Simple merge
diff --cc t/vala3.sh
index 1de29726d6b4dc0242c9271d31c956479928106b,d9ecdea0e17c12f5a65b613bde78604b6fc451ad..ccce705fc0373fe62735dbaa35d3c61b1a00d95a
@@@ -59,21 -58,41 +59,21 @@@ test -f src/zardoz.
  test -f src_zardoz_vala.stamp
  $MAKE distcheck
  $MAKE maintainer-clean
- test ! -f src/zardoz.c
+ test ! -e src/zardoz.c
 +# FIXME: having 'src/zardoz_vala.stamp' should be more appropriate here.
- test ! -f src_zardoz_vala.stamp
+ test ! -e src_zardoz_vala.stamp
  
  mkdir build
  cd build
  ../configure
  $MAKE
 +test -f ../src/zardoz.c
 +# FIXME: having 'src/zardoz_vala.stamp' should be more appropriate here.
 +test -f ../src_zardoz_vala.stamp
  $MAKE distcheck
- test ! -f src_zardoz_vala.stamp
 +$MAKE maintainer-clean
 +test ! -f src/zardoz.c
 +# FIXME: having 'src/zardoz_vala.stamp' should be more appropriate here.
++test ! -e src_zardoz_vala.stamp
  
 -cd ..
 -rm -rf build
 -
 -# Try again with subdir-objects.
 -
 -cat > 'Makefile.am' <<'END'
 -AUTOMAKE_OPTIONS = subdir-objects
 -
 -bin_PROGRAMS = src/zardoz
 -src_zardoz_CFLAGS = $(GOBJECT_CFLAGS)
 -src_zardoz_LDADD = $(GOBJECT_LIBS)
 -src_zardoz_SOURCES = src/zardoz.vala
 -END
 -
 -$ACLOCAL
 -$AUTOCONF
 -$AUTOMAKE -a
 -
 -./configure || skip_ "configure failure"
 -$MAKE
 -$MAKE distcheck
 -$MAKE distclean
 -mkdir build
 -cd build
 -../configure
 -$MAKE
 -$MAKE distcheck
 -
 -
 +:
diff --cc t/vala5.sh
Simple merge
index b0cb353fd270063d545c1b9ef04a0b616fa6ccae,eb7357d9d8a3d0f8d566060c682652cd6090e86a..d531758f2eec3c6551b16cca75598acff49a8d03
@@@ -47,10 -47,10 +47,10 @@@ EN
  $ACLOCAL
  $AUTOMAKE -a
  test -f aux1/ylwrap
- test ! -f ylwrap
- test ! -f sub/ylwrap
+ test ! -e ylwrap
+ test ! -e sub/ylwrap
  grep -i 'ylwrap' Makefile.in sub/Makefile.in # For debugging.
 -$FGREP '$(top_srcdir)/aux1/ylwrap' Makefile.in
 -$FGREP '$(top_srcdir)/aux1/ylwrap' sub/Makefile.in
 +$FGREP '$(am__config_aux_dir)/ylwrap' Makefile.in
 +$FGREP '$(am__config_aux_dir)/ylwrap' sub/Makefile.in
  
  :
diff --cc t/yacc-basic.sh
Simple merge
diff --cc t/yacc-cxx.sh
Simple merge
Simple merge
diff --cc t/yacc-d-cxx.sh
Simple merge
Simple merge
Simple merge
Simple merge