Imprive coverage of cheat.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 2 Jul 2017 17:57:01 +0000 (13:57 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 2 Jul 2017 17:57:01 +0000 (13:57 -0400)
tests/Makefile

index 62075159918bc3eb3b7dea589e977564409b6e32..8092aab196f040e7215998cdae2c42426b095960 100644 (file)
@@ -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"