From: Stefano Lattarini Date: Thu, 26 Jul 2012 09:41:51 +0000 (+0200) Subject: runtest: pass *all* the given shell options to the test invocation X-Git-Tag: v1.12.3~31^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3971f998c5388a46581b2a2c273283ef6f1e5408;p=thirdparty%2Fautomake.git runtest: pass *all* the given shell options to the test invocation * runtest.in: Here. This didn't work previously because, in our option parsing loop, we were mistakenly redefining '$shell_opts' each time, instead of appending to it. Signed-off-by: Stefano Lattarini --- diff --git a/runtest.in b/runtest.in index 64ad0d7ee..0722141ae 100644 --- a/runtest.in +++ b/runtest.in @@ -44,12 +44,12 @@ while test $# -gt 0; do ;; -o) test $# -gt 1 || error "missing argument for option '$1'" - shell_opts="-o $2" + shell_opts="$shell_opts -o $2" shift ;; -*) # Assume it is an option to pass through to the shell. - shell_opts=$1;; + shell_opts="$shell_opts $1";; *) break;; esac