Skip to content

Commit fa7d656

Browse files
committed
test: Ignore failures to remove the output file in some cases
When running tests with busybox as shell, removing the output log file for the stacksmash-asan testcase fails like this occasionally: rm: can't remove 'log1-stacksmash-asan': Permission denied This only seems to happen with the i686 build of busybox. Avoid breaking builds by simply making it ignore errors from this particular "rm" command.
1 parent 0e13419 commit fa7d656

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ $(FAILURE_TEST_TARGETS): .failtested.%$(EXEEXT): %$(EXEEXT) .copied.%$(EXEEXT) $
351351
exit 1; \
352352
;; \
353353
esac; \
354-
rm -f $$OUT; \
354+
rm -f $$OUT || true; \
355355
fi
356356
@touch $@
357357

0 commit comments

Comments
 (0)