Change state of vase
[open-adventure.git] / tests / Makefile
index a7a55f1785a2799f0a5f48f0f7a53313470338b2..be71aa232e124dca580c220964084443c03f44b3 100644 (file)
@@ -70,7 +70,7 @@ savecheck: savegames
        advent -l / < pitfall.log > /tmp/coverage_advent_logfail 2>&1 || exit 1
        $(ECHO) "TEST advent: Test -r with valid input"
        advent -r thousand_saves.adv < pitfall.log > /tmp/coverage_advent_readfail 2>&1 || exit 1
-       rm -f scratch.tmp /tmp/coverage*
+       rm -f /tmp/coverage*
 
 # General regression testing of commands and output; look at the *.log and
 # corresponding *.chk files to see which tests this runs.
@@ -82,6 +82,6 @@ regress:
            then diff --text -u $${file}.chk /tmp/regress$$$$ || exit 1; \
            else echo "*** Nonzero return status on $${file}!"; exit 1; fi \
        done; \
-       rm -f /tmp/regress$$$$
+       rm -f scratch.tmp /tmp/regress$$$$
 
 # end