Add a test for the isolated-foo case
authorEric S. Raymond <esr@thyrsus.com>
Wed, 6 Apr 2022 18:54:43 +0000 (14:54 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 6 Apr 2022 18:54:43 +0000 (14:54 -0400)
tests/fail_hint_ogre2.log
tests/isofoo.chk [new file with mode: 0644]
tests/isofoo.log [new file with mode: 0644]

index a7d96272e0de4f94428f1d9966eb8c41ddcf5db2..496147987da70311c70783998680422f283daee1 100644 (file)
@@ -1,4 +1,4 @@
-## Quaify for ogre hint but fail due to nearby dwarf (fuzzed)
+## Qualify for ogre hint but fail due to nearby dwarf (fuzzed)
 n
 seed 25508795
 in
diff --git a/tests/isofoo.chk b/tests/isofoo.chk
new file mode 100644 (file)
index 0000000..1c0cbaf
--- /dev/null
@@ -0,0 +1,19 @@
+
+Welcome to Adventure!!  Would you like instructions?
+
+> n
+
+You are standing at the end of a road before a small brick building.
+Around you is a forest.  A small stream flows out of the building and
+down a gully.
+
+> foo
+
+Nothing happens.
+
+
+You scored 32 out of a possible 430, using 1 turn.
+
+You are obviously a rank amateur.  Better luck next time.
+
+To achieve the next higher rating, you need 14 more points.
diff --git a/tests/isofoo.log b/tests/isofoo.log
new file mode 100644 (file)
index 0000000..82b5906
--- /dev/null
@@ -0,0 +1,3 @@
+## Test isolated 'foo' word
+n
+foo