tests: allow AM_TEST_RUNNER_SHELL to be overridden
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 23 Jun 2012 08:39:33 +0000 (10:39 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 23 Jun 2012 08:39:33 +0000 (10:39 +0200)
* defs-static.in: Here.  This will make it easier for the maintainer
to run some self checks (like those in 't/self-check-exit.tap') with
different shells, to look for possible portability problems.  Fix a
typo (doubled "the") while we are at it.

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

index 0647dda..a902486 100644 (file)
@@ -140,8 +140,8 @@ build_alias=${build_alias-'@build_alias@'}; export build_alias
 
 # The shell we use to run our own test scripts, determined at configure
 # time.  It is required in the self tests, and most importantly for the
-# the automatic re-execution of test scripts.
-AM_TEST_RUNNER_SHELL='@AM_TEST_RUNNER_SHELL@'
+# automatic re-execution of test scripts.
+AM_TEST_RUNNER_SHELL=${AM_TEST_RUNNER_SHELL-'@AM_TEST_RUNNER_SHELL@'}
 
 # Make sure we override the user shell.  And do not read the value of
 # $SHELL from the environment (think to the non-uncommon situation where