From 708dd0fb4a086b2fff2a8f6f87bc558672e825fe Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 2 Jul 2017 13:57:01 -0400 Subject: [PATCH] Imprive coverage of cheat. --- tests/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.31.1