Partial REUSE cmpliance.

This commit is contained in:
Eric S. Raymond 2023-04-03 10:10:06 -04:00
parent 71abcb4e65
commit 25230068fe
131 changed files with 287 additions and 61 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
advent advent
*.gcda *.gcda
*.gcno *.gcno

View file

@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
stages: stages:
- ci-build - ci-build
- build - build

View file

@ -1,3 +1,7 @@
<--
SPDX-FileCopyrightText: Eric S. Raymond
SPDX-License-Identifier: BSD-2-Clause
-->
extralines=""" extralines="""
<p>There is a <a href="http://esr.gitlab.io/open-adventure/coverage/">code coverage analysis</a> and a <a href="http://esr.gitlab.io/open-adventure/coverage/adventure.yaml.html">symbol coverage analysis</p> <p>There is a <a href="http://esr.gitlab.io/open-adventure/coverage/">code coverage analysis</a> and a <a href="http://esr.gitlab.io/open-adventure/coverage/adventure.yaml.html">symbol coverage analysis</p>
""" """

View file

@ -1,7 +1,4 @@
BSD LICENSE BSD 2-Clause LICENSE
Copyright (c) 1977, 2005 by Will Crowther and Don Woods
Copyright (c) 2017 by Eric S. Raymond
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are modification, are permitted provided that the following conditions are

View file

@ -1,5 +1,7 @@
# This image is built by the Gitlab CI pipeline to be used in subsequent # This image is built by the Gitlab CI pipeline to be used in subsequent
# pipeline steps. # pipeline steps.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
FROM ubuntu FROM ubuntu

View file

@ -1,5 +1,8 @@
# Makefile for the open-source release of adventure 2.5 # Makefile for the open-source release of adventure 2.5
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# To build with save/resume disabled, pass CFLAGS="-DADVENT_NOSAVE" # To build with save/resume disabled, pass CFLAGS="-DADVENT_NOSAVE"
# To build with auto-save/resume enabled, pass CFLAGS="-DADVENT_AUTOSAVE" # To build with auto-save/resume enabled, pass CFLAGS="-DADVENT_AUTOSAVE"

View file

@ -1,9 +1,9 @@
/* /*
* Actions for the dungeon-running code. * Actions for the dungeon-running code.
* *
* Copyright (c) 1977, 2005 by Will Crowther and Don Woods * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* Copyright (c) 2017 by Eric S. Raymond * SPDX-FileCopyrightText 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <stdlib.h> #include <stdlib.h>

View file

@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Name=Open Adventure Name=Open Adventure

View file

@ -1,3 +1,10 @@
/*
* Dungeon types and macros.
*
* SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* SPDX-FileCopyrightText: 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>

View file

@ -2,30 +2,8 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- <!--
Copyright © 2017 Dr. Tobias Quathamer <toddy@debian.org> SPDX-FileCopyrightText: 2017 Dr. Tobias Quathamer <toddy@debian.org>
SPDX-License-Identifier: BSD-2-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--> -->
<svg width="128" height="128" version="1.1" <svg width="128" height="128" version="1.1"
xmlns="http://www.w3.org/2000/svg"> xmlns="http://www.w3.org/2000/svg">

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 4 KiB

Before After
Before After

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#
# This YAML file gets processed into a collection of data structures and # This YAML file gets processed into a collection of data structures and
# variable initializers describing Colossal Cave. It replaces an ad-hoc # variable initializers describing Colossal Cave. It replaces an ad-hoc
# text database shipped with Adventure versions up to 2.5. The format # text database shipped with Adventure versions up to 2.5. The format
@ -115,8 +118,6 @@
# %S = the letter 's' or nothing (if a previous %d value is exactly 1) # %S = the letter 's' or nothing (if a previous %d value is exactly 1)
# %V = substitute program version string # %V = substitute program version string
# #
# Copyright (c) 2017 by Eric S. Raymond
# SPDX-License-Identifier: BSD-2-clause
# Motion names of the form MOT_* are not explicitly referenced in the # Motion names of the form MOT_* are not explicitly referenced in the
# locations YAML, but usually get compiled into generated C. # locations YAML, but usually get compiled into generated C.

View file

@ -4,9 +4,9 @@
* savefile(), so we know we're always outputting save files that advent * savefile(), so we know we're always outputting save files that advent
* can import. * can import.
* *
* Copyright (c) 1977, 2005 by Will Crowther and Don Woods * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* Copyright (c) 2017 by Eric S. Raymond * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <getopt.h> #include <getopt.h>
#include <stdlib.h> #include <stdlib.h>

6
init.c
View file

@ -1,9 +1,9 @@
/* /*
* Initialisation * Initialisation
* *
* Copyright (c) 1977, 2005 by Will Crowther and Don Woods * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* Copyright (c) 2017 by Eric S. Raymond * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <unistd.h> #include <unistd.h>

6
main.c
View file

@ -1,7 +1,7 @@
/* /*
* Copyright (c) 1977, 2005 by Will Crowther and Don Woods * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* Copyright (c) 2017 by Eric S. Raymond * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <stdlib.h> #include <stdlib.h>

View file

@ -1,4 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
""" """
This is the open-adventure dungeon generator. It consumes a YAML description of This is the open-adventure dungeon generator. It consumes a YAML description of
the dungeon and outputs a dungeon.h and dungeon.c pair of C code files. the dungeon and outputs a dungeon.h and dungeon.c pair of C code files.
@ -6,9 +8,6 @@ the dungeon and outputs a dungeon.h and dungeon.c pair of C code files.
The nontrivial part of this is the compilation of the YAML for The nontrivial part of this is the compilation of the YAML for
movement rules to the travel array that's actually used by movement rules to the travel array that's actually used by
playermove(). playermove().
Copyright (c) 2017 by Eric S. Raymond
SPDX-License-Identifier: BSD-2-clause
""" """
# pylint: disable=consider-using-f-string,line-too-long,invalid-name,missing-function-docstring,too-many-branches,global-statement,multiple-imports,too-many-locals,too-many-statements,too-many-nested-blocks,no-else-return,raise-missing-from,redefined-outer-name # pylint: disable=consider-using-f-string,line-too-long,invalid-name,missing-function-docstring,too-many-branches,global-statement,multiple-imports,too-many-locals,too-many-statements,too-many-nested-blocks,no-else-return,raise-missing-from,redefined-outer-name
@ -21,7 +20,7 @@ C_NAME = "dungeon.c"
H_TEMPLATE_PATH = "templates/dungeon.h.tpl" H_TEMPLATE_PATH = "templates/dungeon.h.tpl"
C_TEMPLATE_PATH = "templates/dungeon.c.tpl" C_TEMPLATE_PATH = "templates/dungeon.c.tpl"
DONOTEDIT_COMMENT = "/* Generated from adventure.yaml - do not hand-hack! */\n/* SPDX-License-Identifier: BSD-2-clause */\n\n" DONOTEDIT_COMMENT = "/* Generated from adventure.yaml - do not hand-hack! */\n\n"
statedefines = "" statedefines = ""

View file

@ -1,4 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
"""\ """\
usage: make-graph.py [-a] -d] [-m] [-s] usage: make-graph.py [-a] -d] [-m] [-s]
@ -11,8 +13,6 @@ Make a DOT graph of Colossal Cave.
-s = emit graph of non-forest surface locations -s = emit graph of non-forest surface locations
-v = include internal symbols in room labels -v = include internal symbols in room labels
""" """
# Copyright (c) 2017 by Eric S. Raymond
# SPDX-License-Identifier: BSD-2-clause
# pylint: disable=consider-using-f-string,line-too-long,invalid-name,missing-function-docstring,multiple-imports,redefined-outer-name # pylint: disable=consider-using-f-string,line-too-long,invalid-name,missing-function-docstring,multiple-imports,redefined-outer-name

6
misc.c
View file

@ -1,9 +1,9 @@
/* /*
* I/O and support routines. * I/O and support routines.
* *
* Copyright (c) 1977, 2005 by Will Crowther and Don Woods * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* Copyright (c) 2017 by Eric S. Raymond * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <unistd.h> #include <unistd.h>

View file

@ -4,9 +4,9 @@
* (ESR) This replaces a bunch of particularly nasty FORTRAN-derived code; * (ESR) This replaces a bunch of particularly nasty FORTRAN-derived code;
* see the history.adoc file in the source distribution for discussion. * see the history.adoc file in the source distribution for discussion.
* *
* Copyright (c) 1977, 2005 by Will Crowther and Don Woods * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* Copyright (c) 2017 by Eric S. Raymond * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <stdlib.h> #include <stdlib.h>

View file

@ -1,9 +1,9 @@
/* /*
* Scoring and wrap-up. * Scoring and wrap-up.
* *
* Copyright (c) 1977, 2005 by Will Crowther and Don Woods * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
* Copyright (c) 2017 by Eric S. Raymond * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
* SPDX-License-Identifier: BSD-2-clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <stdlib.h> #include <stdlib.h>
#include "advent.h" #include "advent.h"

View file

@ -1,3 +1,7 @@
<--
SPDX-FileCopyrightText: Eric S. Raymond
SPDX-License-Identifier: BSD-2-Clause
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,3 +1,8 @@
/*
SPDX-FileCopyrightText: Eric S. Raymond
SPDX-License-Identifier: BSD-2-Clause
*/
#include "{h_file}" #include "{h_file}"
const char* arbitrary_messages[] = {{ const char* arbitrary_messages[] = {{
@ -48,4 +53,4 @@ const travelop_t travel[] = {{
const char *ignore = "{ignore}"; const char *ignore = "{ignore}";
/* end */ /* end */

View file

@ -1,3 +1,7 @@
/*
SPDX-FileCopyrightText: Eric S. Raymond
SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef DUNGEON_H #ifndef DUNGEON_H
#define DUNGEON_H #define DUNGEON_H

View file

@ -1,5 +1,8 @@
# Test-suite makefile for open-adventure # Test-suite makefile for open-adventure
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Use absolute path so tests that change working directory still use # Use absolute path so tests that change working directory still use
# scripts from parent directory. Note that using $PWD seems to fail # scripts from parent directory. Note that using $PWD seems to fail
# here under Gitlab's CI environment. # here under Gitlab's CI environment.

View file

@ -1,4 +1,6 @@
## Observe axe after throwing at bear ## Observe axe after throwing at bear
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Test throwing axe at non-dwarves. ## Test throwing axe at non-dwarves.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Added coverage of LOC_DEADCRAWL and CROSS_BRIDGE # Added coverage of LOC_DEADCRAWL and CROSS_BRIDGE
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
## Get to dragon, refuse to use bare hands ## Get to dragon, refuse to use bare hands
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE Fails due uninteresting difference in whitespace process. #NOCOMPARE Fails due uninteresting difference in whitespace process.
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n

View file

@ -1,4 +1,6 @@
## Test many nonlethal failure conditions ## Test many nonlethal failure conditions
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# See comments in this log # See comments in this log
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
## Attempt to kill snake with bird in the endgame ## Attempt to kill snake with bird in the endgame
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Verify that the bird is weightless in inventory ## Verify that the bird is weightless in inventory
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Checks fix for GitLab issue #40 # Checks fix for GitLab issue #40
#NOCOMPARE Bird was not weightless in cage in advent430 so this test is invalid. #NOCOMPARE Bird was not weightless in cage in advent430 so this test is invalid.
n n

View file

@ -1,4 +1,6 @@
## Coverage of LOC_BOULDERS2.short ## Coverage of LOC_BOULDERS2.short
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Break the mirror in endgame and die ## Break the mirror in endgame and die
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Try to carry bird without cage, then kill bird ## Try to carry bird without cage, then kill bird
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1071883378 seed 1071883378
in in

View file

@ -1,4 +1,6 @@
## Try to carry the bird after freeing it instead of listening ## Try to carry the bird after freeing it instead of listening
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1495951709 seed 1495951709
attack attack

View file

@ -1,4 +1,6 @@
## Resume from absurd save file with numdie = -900 ## Resume from absurd save file with numdie = -900
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE Can't compare to advent430 due to version skew #NOCOMPARE Can't compare to advent430 due to version skew
n n
resume resume

View file

@ -1,4 +1,6 @@
## Resume from absurd save file with numdie = -1000 ## Resume from absurd save file with numdie = -1000
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# generating "off my scale" score threshold message # generating "off my scale" score threshold message
#NOCOMPARE Can't compare to advent430 due to version skew #NOCOMPARE Can't compare to advent430 due to version skew
n n

View file

@ -1,4 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
""" """
This is the open-adventure dungeon text coverage report generator. It This is the open-adventure dungeon text coverage report generator. It
consumes a YAML description of the dungeon and determines whether the consumes a YAML description of the dungeon and determines whether the

View file

@ -1,4 +1,6 @@
## Jump into a pit and die, refuse reincarnation ## Jump into a pit and die, refuse reincarnation
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1495774850 seed 1495774850
in in

View file

@ -1,4 +1,6 @@
## Last-minute defeat, with lava. Also tests vase drop before pillow. ## Last-minute defeat, with lava. Also tests vase drop before pillow.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
## Take nugget and fail to climb to the dome ## Take nugget and fail to climb to the dome
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Check that dead dragon actually moves its location (fuzzed) ## Check that dead dragon actually moves its location (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 18084731 seed 18084731
in in

View file

@ -1,4 +1,6 @@
## Try to carry the bird after freeing it instead of listening ## Try to carry the bird after freeing it instead of listening
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1495951709 seed 1495951709
in in

View file

@ -1,4 +1,6 @@
## Speak a magic word at an inopportune time and drown. ## Speak a magic word at an inopportune time and drown.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
## In which the dwarf kills you ## In which the dwarf kills you
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1494912171 seed 1494912171
in in

View file

@ -1,4 +1,6 @@
## Check that dwarf spawns in alternative location (fuzzed) ## Check that dwarf spawns in alternative location (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 383847 seed 383847
in in

View file

@ -1,4 +1,6 @@
## Be done with Giant Room and eggs (fuzzed) ## Be done with Giant Room and eggs (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Vanishing eggs in Giant Room (fuzzed) ## Vanishing eggs in Giant Room (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## 428-point walkthrough ## 428-point walkthrough
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
### Check that water is unavailable in endgame ### Check that water is unavailable in endgame
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Addresses GitLab issue #55: in endgame, some object starting states are incorrect # Addresses GitLab issue #55: in endgame, some object starting states are incorrect
#NOCOMPARE Bird was not weightless in cage in advent430, this test depends on that. #NOCOMPARE Bird was not weightless in cage in advent430, this test depends on that.
no no

View file

@ -1,4 +1,6 @@
## Fail to get maze hint by being empty-handed (fuzzed) ## Fail to get maze hint by being empty-handed (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 25508795 seed 25508795
in in

View file

@ -1,4 +1,6 @@
## Qualify for ogre hint but fail due to dwarves dead (fuzzed) ## Qualify for ogre hint but fail due to dwarves dead (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE Fails due uninteresting difference in whitespace process. #NOCOMPARE Fails due uninteresting difference in whitespace process.
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
## Qualify for ogre hint but fail due to nearby dwarf (fuzzed) ## Qualify for ogre hint but fail due to nearby dwarf (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 25508795 seed 25508795
in in

View file

@ -1,4 +1,6 @@
## Fail getting wood hint by finding appendage (fuzzed) ## Fail getting wood hint by finding appendage (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
n n
z z

View file

@ -1,4 +1,6 @@
## Attempt to fill lamp, attempt to fill bottle with no source ## Attempt to fill lamp, attempt to fill bottle with no source
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
in in
carry lamp carry lamp

View file

@ -1,4 +1,6 @@
## Fill the vase ## Fill the vase
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Arthur O'Dwyer <arthur.j.odwyer@gmail.com> writes: # Arthur O'Dwyer <arthur.j.odwyer@gmail.com> writes:
# #
# (4) Lastly, here's a test case for you! Go get the VASE; then get the # (4) Lastly, here's a test case for you! Go get the VASE; then get the

View file

@ -1,4 +1,6 @@
## Test fix for issue 51: rug flying is broken ## Test fix for issue 51: rug flying is broken
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE Behavior differs due to a bug fix. #NOCOMPARE Behavior differs due to a bug fix.
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
## Coverage of LOC_FOOTSLIP ## Coverage of LOC_FOOTSLIP
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Observe amber, ruby, sapphire after state change ## Observe amber, ruby, sapphire after state change
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1635997320 seed 1635997320
in in

View file

@ -1,4 +1,6 @@
## Test many nonlethal failure conditions ## Test many nonlethal failure conditions
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# This variant elicits the prompt to go back for batteries # This variant elicits the prompt to go back for batteries
# See comments in this log # See comments in this log
#NOCOMPARE Relies on "waste" #NOCOMPARE Relies on "waste"

View file

@ -1,4 +1,6 @@
## Elicit hint for dealing with plugh room and darkness (fuzzed) ## Elicit hint for dealing with plugh room and darkness (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1495951709 seed 1495951709
in in

View file

@ -1,4 +1,6 @@
## Elicit hint for dealing with grate ## Elicit hint for dealing with grate
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1495774850 seed 1495774850
in in

View file

@ -1,4 +1,6 @@
## Elicit hint for getting the jade (fuzzed) ## Elicit hint for getting the jade (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Elicit hint for dealing with snake ## Elicit hint for dealing with snake
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1951269982 seed 1951269982
in in

View file

@ -1,4 +1,6 @@
## Elicit hint for dealing with urn (fuzzed) ## Elicit hint for dealing with urn (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE Policy decision - no point in emulating advent430's extra \n here #NOCOMPARE Policy decision - no point in emulating advent430's extra \n here
n n
seed 1495951709 seed 1495951709

View file

@ -1,4 +1,6 @@
## Hint for Witt's End ## Hint for Witt's End
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE Policy decision - no point in emulating advent430's extra \n here #NOCOMPARE Policy decision - no point in emulating advent430's extra \n here
n n
seed 1635997320 seed 1635997320

View file

@ -1,4 +1,6 @@
## Test for various cases not found in walkthroughs. ## Test for various cases not found in walkthroughs.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE This is busted under advent430 -- see comments within. #NOCOMPARE This is busted under advent430 -- see comments within.
foo foo

View file

@ -1,4 +1,6 @@
## Test for various cases not found in walkthroughs (advent430-compatible). ## Test for various cases not found in walkthroughs (advent430-compatible).
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Commented-out lines cause troble in advent430 # Commented-out lines cause troble in advent430
n n
seed 1635997320 seed 1635997320

View file

@ -1,4 +1,6 @@
## Carry when only one object is present ## Carry when only one object is present
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
in in
carry lamp carry lamp

View file

@ -1,4 +1,6 @@
## Test handling of object after transitive verb. ## Test handling of object after transitive verb.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 826186526 seed 826186526
in in

View file

@ -1,4 +1,6 @@
## Test handling of transitive verb after noun ## Test handling of transitive verb after noun
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
in in
food food

View file

@ -1,4 +1,6 @@
## Test the case where your lamp goes dim ## Test the case where your lamp goes dim
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Try (and fail) to carry message at vending machine ## Try (and fail) to carry message at vending machine
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Die while closing ## Die while closing
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Check that listen command hears all objects as well as location sound ## Check that listen command hears all objects as well as location sound
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
no no
seed 1181530211 seed 1181530211
e e

View file

@ -1,4 +1,6 @@
## Attempt to listen at a loud location ## Attempt to listen at a loud location
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n
seed 1495951709 seed 1495951709
@ -139,4 +141,4 @@ u
reservoir reservoir
Q'IBJ Q'IBJ
n n
listen listen

View file

@ -1,4 +1,6 @@
## Test multiple re-locking and unlocking of bear's chain ## Test multiple re-locking and unlocking of bear's chain
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n
seed 1635997320 seed 1635997320

View file

@ -1,4 +1,6 @@
## Exercise logging option and seed dump ## Exercise logging option and seed dump
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#options: -l scratch.tmp #options: -l scratch.tmp
n n
in in

View file

@ -1,4 +1,6 @@
## Test processing of variuus fee fie foe foo fum cases. ## Test processing of variuus fee fie foe foo fum cases.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# #
# How thry're supposed to work: # How thry're supposed to work:
# #

View file

@ -1,4 +1,6 @@
## Coverage of all LOC_DIFFERENT* ## Coverage of all LOC_DIFFERENT*
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Elicit the maze hint. ## Elicit the maze hint.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1071883378 seed 1071883378
in in

View file

@ -2,6 +2,8 @@
Welcome to Adventure!! Would you like instructions? Welcome to Adventure!! Would you like instructions?
> ## Test handling of object after transitive verb. > ## Test handling of object after transitive verb.
> # SPDX-FileCopyrightText: Eric S. Raymond
> # SPDX-License-Identifier: BSD-2-Clause
> n > n
> n > n

View file

@ -1,4 +1,6 @@
## Try to open clam without trident and fail ## Try to open clam without trident and fail
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1635997320 seed 1635997320
in in

View file

@ -1,4 +1,6 @@
## Try to attack ogre with no dwarves present (fuzzed) ## Try to attack ogre with no dwarves present (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 25508795 seed 25508795
in in

View file

@ -1,4 +1,6 @@
## Elicit the ogre hint. ## Elicit the ogre hint.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 437547289 seed 437547289
seed 1071883378 seed 1071883378

View file

@ -1,4 +1,6 @@
## Attempt to oil the beanstalk after watering it ## Attempt to oil the beanstalk after watering it
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Simple quit ## Simple quit
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#options: -o #options: -o
#NOCOMPARE Comment not interpreted by advent430 #NOCOMPARE Comment not interpreted by advent430
n n

View file

@ -1,4 +1,6 @@
#! /bin/sh #! /bin/sh
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
case $? in case $? in
0) echo "ok - $1 succeeded";; 0) echo "ok - $1 succeeded";;
*) echo "not ok - $1 failed";; *) echo "not ok - $1 failed";;

View file

@ -1,4 +1,6 @@
# Demonstrate fix of buggy response to unlocking oyster while carrying it. # Demonstrate fix of buggy response to unlocking oyster while carrying it.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE This fails due to a known bug in advent430 #NOCOMPARE This fails due to a known bug in advent430
n n
seed 1838473132 seed 1838473132

View file

@ -1,4 +1,6 @@
## Panic test - attempt to unlock grate after game closed. ## Panic test - attempt to unlock grate after game closed.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Panic test - attempt to xyzzy out after game is closed. ## Panic test - attempt to xyzzy out after game is closed.
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Check that pirate steals loose treasure from ground (fuzzed) ## Check that pirate steals loose treasure from ground (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1837473132 seed 1837473132
in in

View file

@ -1,4 +1,6 @@
## Pirate mustn't take pyramid from plover/dark rooms (fuzzed) ## Pirate mustn't take pyramid from plover/dark rooms (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1830473132 seed 1830473132
in in

View file

@ -1,4 +1,6 @@
## Spot pirate to manifest chest before last treasure (fuzzed) ## Spot pirate to manifest chest before last treasure (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Death by pitfall ## Death by pitfall
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Die 3 times so we can cover all the obituary messages # Die 3 times so we can cover all the obituary messages
n n
seed 780351908 seed 780351908

View file

@ -1,4 +1,6 @@
## Test access to emerald room and plover teleport ## Test access to emerald room and plover teleport
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n
seed 1495951709 seed 1495951709

View file

@ -1,4 +1,6 @@
## LOC_NOCLIMB.short (fuzzed) ## LOC_NOCLIMB.short (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## LOC_NOCLIMB (fuzzed) ## LOC_NOCLIMB (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## LOC_PLANTTOP (fuzzed) ## LOC_PLANTTOP (fuzzed)
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1838473132 seed 1838473132
in in

View file

@ -1,4 +1,6 @@
## Jump into a pit and die, then be reincarnated ## Jump into a pit and die, then be reincarnated
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
n n
seed 1495774850 seed 1495774850
in in

View file

@ -1,4 +1,6 @@
## Resume from invalid filename ## Resume from invalid filename
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE advent430 crashes on resume from invalid filename and we don't care. #NOCOMPARE advent430 crashes on resume from invalid filename and we don't care.
n n
seed 1240742801 seed 1240742801

View file

@ -1,4 +1,6 @@
## Resume from from generated save with version mismatch error ## Resume from from generated save with version mismatch error
# SPDX-FileCopyrightText: Eric S. Raymond
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE Reveals a bug in advent430 handling of saves with invalid versions. #NOCOMPARE Reveals a bug in advent430 handling of saves with invalid versions.
n n
resume resume

Some files were not shown because too many files have changed in this diff Show more