aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/tatt_functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh
index d2b5bc8..57d3d65 100644
--- a/templates/tatt_functions.sh
+++ b/templates/tatt_functions.sh
@@ -34,7 +34,7 @@ function tatt_pkg_error
LOGNAME=$(mktemp -p "${TATT_BUILDLOGDIR}" "${CP/\//_}_${TATT_TEST_TYPE}_XXXXX")
mv "${BUILDLOG}" "${LOGNAME}"
echo " log has been saved as ${LOGNAME}" >> "${TATT_REPORTFILE}"
- TESTLOGS=($(find ${BUILDDIR}/work -name test-suite.log -o -name testsuite.log -o -name LastTest.log))
+ TESTLOGS=($(find ${BUILDDIR}/work -iname '*test*log*'))
if [ ${#TESTLOGS[@]} -gt 0 ]; then
tar cf ${LOGNAME}.tar ${TESTLOGS[@]}
echo " testsuite logs have been saved as ${LOGNAME}.tar" >> "${TATT_REPORTFILE}"