From b28b4531b4a5aaba305cbdbfe2694dbe22147fd2 Mon Sep 17 00:00:00 2001 From: Jonathan Cohen Date: Tue, 11 May 2021 13:51:53 -0400 Subject: [PATCH] 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 Co-authored-by: Vinicius Fortuna --- src/shadowbox/integration_test/run_action.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shadowbox/integration_test/run_action.sh b/src/shadowbox/integration_test/run_action.sh index cf4a039c..916fd019 100755 --- a/src/shadowbox/integration_test/run_action.sh +++ b/src/shadowbox/integration_test/run_action.sh @@ -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:"