From f84c5033e9f1666c5fa3f8151820664bfc3d0dde Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 19 Jun 2017 11:37:03 -0400 Subject: [PATCH] Revert "Improved test coverage -- save/resume fail" Fails in GitLab CI - looks like /dev/badfilename can actually be opened there. --- tests/resumefail.chk | 33 --------------------------------- tests/resumefail.log | 6 ------ tests/savefail.chk | 34 ---------------------------------- tests/savefail.log | 6 ------ 4 files changed, 79 deletions(-) delete mode 100644 tests/resumefail.chk delete mode 100644 tests/resumefail.log delete mode 100644 tests/savefail.chk delete mode 100644 tests/savefail.log 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 -- 2.31.1