Signed-off-by: Jean Privat <jean@pryen.org>
--- /dev/null
+nb args: 2
+args:
+ first
+ second
+hello
first second
"first only" second
this is some king of test, long and with some weird char$
+first second ; echo hello
echo "NIT_NO_STACK=1 ./$ff.bin" $args
fi
test -z "$tap" && echo -n "==> args #"$cptr " "
- sh -c "NIT_NO_STACK=1 $TIMEOUT ./$ff.bin ''$args < $inputs > $fff.res 2>$fff.err"
+ echo "./$ff.bin $args" > "./$fff.bin"
+ chmod +x "./$fff.bin"
+ sh -c "NIT_NO_STACK=1 $TIMEOUT ./$fff.bin < $inputs > $fff.res 2>$fff.err"
if [ "x$verbose" = "xtrue" ]; then
cat "$fff.res"
cat >&2 "$fff.err"