diff options
-rwxr-xr-x | automated/linux/kselftest/kselftest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/kselftest/kselftest.sh b/automated/linux/kselftest/kselftest.sh index b55997d..7403510 100755 --- a/automated/linux/kselftest/kselftest.sh +++ b/automated/linux/kselftest/kselftest.sh @@ -54,7 +54,7 @@ while getopts "t:s:L:S:h" opt; do done parse_output() { - grep "selftests:" "${LOGFILE}" 2>&1 | tee -a "${RESULT_FILE}" + grep "selftests:" "${LOGFILE}" > "${RESULT_FILE}" sed -i -e 's/: /-/g' "${RESULT_FILE}" sed -i -e 's/\[//g' "${RESULT_FILE}" sed -i -e 's/]//g' "${RESULT_FILE}" |