Force remove integration test logfiles (#884)

* Don't bother cleaning up integration test log files on Travis

* Update src/shadowbox/integration_test/run_action.sh

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
This commit is contained in:
Jonathan Cohen 2021-05-11 13:51:53 -04:00 committed by GitHub
parent aea8fa84e8
commit b28b4531b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,9 @@ declare -i result=0
if ./test.sh > "${LOGFILE}" 2>&1 ; then
echo "Test Passed!"
rm "${LOGFILE}"
# Removing the log file sometimes fails on Travis. There's no point in us cleaning it up
# on a CI build anyways.
rm -f "${LOGFILE}"
else
result=$?
echo "Test Failed! Logs:"