* 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 <stefano.lattarini@gmail.com>
;;
-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