mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 17:20:40 +01:00
Fix inconsistencies in tests between tty and script
This commit is contained in:
parent
98e2077fe2
commit
eca97339e0
@ -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 $?
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user