diff --git a/scripts/tests/esp32_qemu_tests.sh b/scripts/tests/esp32_qemu_tests.sh index 92bc1144027919..8e28fe08edfe67 100755 --- a/scripts/tests/esp32_qemu_tests.sh +++ b/scripts/tests/esp32_qemu_tests.sh @@ -49,7 +49,7 @@ run_suite() { if [[ -d "${log_dir}" ]]; then suite=${1%.a} suite=${suite#lib} - really_run_suite "$@" |& tee "$log_dir/$suite.log" + really_run_suite "$@" 2>&1 | tee "$log_dir/$suite.log" else really_run_suite "$@" fi