From: Eric S. Raymond Date: Sun, 2 Jul 2017 17:57:01 +0000 (-0400) Subject: Imprive coverage of cheat. X-Git-Tag: takebird~98 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=708dd0fb4a086b2fff2a8f6f87bc558672e825fe;p=open-adventure.git Imprive coverage of cheat. --- diff --git a/tests/Makefile b/tests/Makefile index 6207515..8092aab 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -65,6 +65,8 @@ buildregress: savegames savecheck: savegames $(ECHO) "TEST cheat: Bogus option for save file generation" ../cheat -QqQ 2> /tmp/coverage_cheat_batopt | true + $(ECHO) "TEST cheat: No save file specified" + ../cheat 2>/dev/null | true $(ECHO) "TEST cheat: Fail to save because we omit -o" ../cheat -d 1 2> /tmp/coverage_cheat_nooutput | true $(ECHO) "TEST cheat: Fail to save to invalid path"