]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'maint'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jun 2012 08:12:43 +0000 (10:12 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jun 2012 08:12:43 +0000 (10:12 +0200)
* maint:
  tests: fix automatic re-execution of tests with Zsh
  tests: drop support for older Zsh shells
  tests: allow AM_TEST_RUNNER_SHELL to be overridden
  tests: fix setup for older Zsh

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
1  2 
defs

diff --cc defs
index d16758cb667cd8f8b80718f4af2d62ab1e56ab26,217665eaf4de012ec91c760b3de2a3338046a986..72dcf63f13a56b5fa809cf58d8f41c51251d0f91
--- 1/defs
--- 2/defs
+++ b/defs
@@@ -46,10 -46,10 +46,10 @@@ case ${AM_TESTS_REEXEC-yes} i
        *x*) opts=-x;;
        *) opts=;;
      esac
-     echo exec $AM_TEST_RUNNER_SHELL $opts "$0" "$*"
-     exec $AM_TEST_RUNNER_SHELL $opts "$0" ${1+"$@"}
+     echo exec $AM_TEST_RUNNER_SHELL $opts "$argv0" "$*"
+     exec $AM_TEST_RUNNER_SHELL $opts "$argv0" ${1+"$@"}
 -    # This should be dead code, unless some strange error happened. 
 +    # This should be dead code, unless some strange error happened.
-     echo "$0: failed to re-execute with $AM_TEST_RUNNER_SHELL" >&2
+     echo "$argv0: failed to re-execute with $AM_TEST_RUNNER_SHELL" >&2
      exit 99
      ;;
  esac