Merge branch 'maint'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 11:42:10 +0000 (13:42 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 11:42:10 +0000 (13:42 +0200)
* maint:
  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

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
13 files changed:
1  2 
configure.ac
t/ax/test-init.sh
t/instdir-texi.sh
t/parallel-tests-driver-install.sh
t/parallel-tests-dry-run-2.sh
t/stamph2.sh
t/txinfo13.sh
t/txinfo21.sh
t/txinfo23.sh
t/txinfo24.sh
t/txinfo25.sh
t/txinfo28.sh
t/txinfo33.sh

diff --cc configure.ac
Simple merge
Simple merge
Simple merge
@@@ -45,9 -49,44 +45,9 @@@ cat stderr >&
  
  ls -l . sub my_aux_dir # For debugging.
  test -f my_aux_dir/test-driver
- test ! -r test-driver
- test ! -r sub/test-driver
+ test ! -e test-driver
+ test ! -e sub/test-driver
  
 -grep '^configure\.ac:3:.*installing.*my_aux_dir/test-driver' stderr
 -
 -cd ..
 -
 -: Now try with parallel-tests defined in AUTOMAKE_OPTIONS.
 -
 -mkdir automake-options
 -cd automake-options
 -
 -cat > configure.ac <<END
 -AC_INIT([$me], [1.0])
 -AC_CONFIG_AUX_DIR([build-aux])
 -AM_INIT_AUTOMAKE
 -AC_CONFIG_FILES([dir/GNUmakefile])
 -AC_OUTPUT
 -END
 -
 -mkdir build-aux dir
 -
 -cat > dir/GNUmakefile.am <<END
 -TESTS = foo.test
 -AUTOMAKE_OPTIONS = parallel-tests
 -TESTS += bar.test
 -END
 -
 -$ACLOCAL
 -$AUTOMAKE --add-missing --copy dir/GNUmakefile 2>stderr \
 -  || { cat stderr >&2; exit 1; }
 -cat stderr >&2
 -
 -ls -l . dir build-aux # For debugging.
 -test -f build-aux/test-driver
 -test ! -e test-driver
 -test ! -e dir/test-driver
 -
 -grep '^dir/GNUmakefile\.am:2:.*installing.*build-aux/test-driver' stderr
 +grep '^parallel-tests:.*installing.*my_aux_dir/test-driver' stderr
  
  :
Simple merge
diff --cc t/stamph2.sh
Simple merge
diff --cc t/txinfo13.sh
Simple merge
diff --cc t/txinfo21.sh
Simple merge
diff --cc t/txinfo23.sh
Simple merge
diff --cc t/txinfo24.sh
Simple merge
diff --cc t/txinfo25.sh
Simple merge
diff --cc t/txinfo28.sh
Simple merge
diff --cc t/txinfo33.sh
Simple merge