Imprive coverage of cheat.

This commit is contained in:
Eric S. Raymond 2017-07-02 13:57:01 -04:00
parent 35f4af108d
commit 708dd0fb4a

View 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"