Fix inconsistencies in tests between tty and script

This commit is contained in:
Ethan P 2019-12-25 00:17:01 -08:00
parent 98e2077fe2
commit eca97339e0
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA

View File

@ -29,12 +29,12 @@ export LANG="en_US.UTF-8"
shift
case "$TEST_RUNNER_USE" in
src)
bash "${DIR_SRC}/${SCRIPT}.sh" "$@"
bash "${DIR_SRC}/${SCRIPT}.sh" "$@" 2>&1 | cat
exit $?
;;
bin|"")
"${DIR_BIN}/${SCRIPT}" "$@"
"${DIR_BIN}/${SCRIPT}" "$@" 2>&1 | cat
exit $?
;;