From: Eric S. Raymond Date: Mon, 19 Jun 2017 15:37:03 +0000 (-0400) Subject: Revert "Improved test coverage -- save/resume fail" X-Git-Tag: 1.1~217 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f84c5033e9f1666c5fa3f8151820664bfc3d0dde;hp=e5b6f71d7a6f531bd9a96c152bf7ed1aedfbd187;p=open-adventure.git Revert "Improved test coverage -- save/resume fail" Fails in GitLab CI - looks like /dev/badfilename can actually be opened there. --- diff --git a/tests/resumefail.chk b/tests/resumefail.chk deleted file mode 100644 index 355fc81..0000000 --- a/tests/resumefail.chk +++ /dev/null @@ -1,33 +0,0 @@ - -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. - -> seed 1240742801 -Seed set to 1240742801 - -You're in front of building. - -> resume - -To resume an earlier Adventure, you must abandon the current one. - -Is this acceptable? - -> y - -OK -Can't open file /dev/badfilename, try again. - -You're in front of building. - - -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/resumefail.log b/tests/resumefail.log deleted file mode 100644 index 04a3022..0000000 --- a/tests/resumefail.log +++ /dev/null @@ -1,6 +0,0 @@ -## Save right after starting -n -seed 1240742801 -resume -y -/dev/badfilename \ No newline at end of file diff --git a/tests/savefail.chk b/tests/savefail.chk deleted file mode 100644 index 1bd0e56..0000000 --- a/tests/savefail.chk +++ /dev/null @@ -1,34 +0,0 @@ - -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. - -> seed 1240742801 -Seed set to 1240742801 - -You're in front of building. - -> save - -I can suspend your Adventure for you so that you can resume later, but -it will cost you 5 points. - -Is this acceptable? - -> y - -OK -Can't open file /dev/badfilename, try again. - -You're in front of building. - - -You scored 27 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 19 more points. diff --git a/tests/savefail.log b/tests/savefail.log deleted file mode 100644 index 48a5c16..0000000 --- a/tests/savefail.log +++ /dev/null @@ -1,6 +0,0 @@ -## Save right after starting -n -seed 1240742801 -save -y -/dev/badfilename \ No newline at end of file