Improve test coverage.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 18 Jun 2017 14:55:09 +0000 (10:55 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 18 Jun 2017 14:55:09 +0000 (10:55 -0400)
Makefile
tests/breakmirror.chk
tests/breakmirror.log

index b7328e649a7fe0759877dc6addcd2607f12839d1..80f1c121d8bb52da8b147c869670d2597bce2c9d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@
 VERS=1.0
 
 CC?=gcc
 VERS=1.0
 
 CC?=gcc
-CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wpedantic 
+CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wpedantic -g
 LIBS=
 UNAME_S := $(shell uname -s)
 ifeq ($(UNAME_S),Linux)
 LIBS=
 UNAME_S := $(shell uname -s)
 ifeq ($(UNAME_S),Linux)
index da89a581f1e5e12bd1f3c425932e1fc26999b823..2b631d18bbe46863aa8c1766a6647210e6d59bb6 100644 (file)
@@ -2898,6 +2898,23 @@ not disturb the dwarves!"  An immense mirror is hanging against one
 wall, and stretches to the other end of the room, where various other
 sundry objects can be glimpsed dimly in the distance.
 
 wall, and stretches to the other end of the room, where various other
 sundry objects can be glimpsed dimly in the distance.
 
+> take oyster
+
+OK
+
+Interesting.  There seems to be something written on the underside of
+the oyster.
+
+> read oyster
+
+Hmmm, this looks like a clue, which means it'll cost you 10 points to
+read it.  Should I go ahead and read it anyway?
+
+> y
+
+It says, "There is a way out of this place.  Do you need any more
+information to escape?  Sorry, but this initial hint is all you get."
+
 > sw
 
 You are at the southwest end of the repository.  To one side is a pit
 > sw
 
 You are at the southwest end of the repository.  To one side is a pit
@@ -2920,8 +2937,8 @@ The resulting ruckus has awakened the dwarves.  There are now several
 threatening little dwarves in the room with you!  Most of them throw
 knives at you!  All of them get you!
 
 threatening little dwarves in the room with you!  Most of them throw
 knives at you!  All of them get you!
 
-You scored 393 out of a possible 430, using 463 turns.
+You scored 383 out of a possible 430, using 465 turns.
 
 Your score puts you in Master Adventurer Class B.
 
 
 Your score puts you in Master Adventurer Class B.
 
-To achieve the next higher rating, you need 18 more points.
+To achieve the next higher rating, you need 28 more points.
index 592bdbac538d751fa016e91cf24438c782cfbaae..b79cbb8433d3825aa4c91c86b07400396d23085e 100644 (file)
@@ -465,6 +465,9 @@ e
 e
 e
 # Everything to here is from endgame428
 e
 e
 # Everything to here is from endgame428
+take oyster
+read oyster
+y
 sw
 break mirror
 
 sw
 break mirror