empserver/tests
Markus Armbruster 3f2e59ab2f load lload unload lunload: Tweak suppression of error messages
These commands suppress some error messages when ships, planes or land
units involved aren't explicitly selected by UID.  Without this, a
command like "unload plane 80 *" would complain about every plane not
on ship#80.

Correct a few issues with this error suppression:

1. We don't suppress the error when we can't load/unload a ship or
land unit because it's on the trading block.  Do suppress it.

2. We suppress the error message when we can't load/unload due to
foreign sector ownership in all but one places.  Fix that place.

3. Messages about explicitly selected planes and land units to load
are still suppressed when the carrier isn't selected explicitly.
Change this to suppress regardless of the carrier.

3. We suppress the error when a carrier has no room.  Don't, because
it's a potentially confusing silent failure.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-05 07:25:18 +01:00
..
actofgod edit: Implement editing of missile fortification 2021-01-05 07:23:45 +01:00
bridgefall relations: Move relations state from struct natstr to relatstr 2017-08-06 20:09:22 +02:00
build Spell harbor consistently 2017-08-07 10:08:31 +02:00
empdump config: Generalize infrastructure build materials storage 2017-08-06 20:09:19 +02:00
fairland relations: Move relations state from struct natstr to relatstr 2017-08-06 20:09:22 +02:00
files relations: Move relations state from struct natstr to relatstr 2017-08-06 20:09:22 +02:00
fire relations: Move relations state from struct natstr to relatstr 2017-08-06 20:09:22 +02:00
info tests/info: New; checks info and code agree on commands 2014-01-06 20:50:06 +01:00
load-tend load lload unload lunload: Tweak suppression of error messages 2021-01-05 07:25:18 +01:00
navi-march navigate march: Say "to sweep mines" instead of "to minesweep" 2017-08-07 10:08:31 +02:00
retreat Use all-caps for a few acronyms and for "OK" 2017-08-07 10:08:31 +02:00
smoke Correct spelling as one word and as two words 2017-08-07 10:08:31 +02:00
torpedo Correct spelling as one word and as two words 2017-08-07 10:08:31 +02:00
update update/revolt: Fix land unit casualties 2018-04-29 10:33:48 +02:00
version Update copyright notice 2018-04-29 10:33:19 +02:00
actofgod-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
bridgefall-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
build-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
empdump-test tests: Rewrite the previous commit's sed_i helper 2015-03-04 08:15:13 +01:00
fairland-test tests/files tests/fairland: Check stderr and exit status 2015-02-01 16:52:59 +01:00
files-test tests/files tests/fairland: Check stderr and exit status 2015-02-01 16:52:59 +01:00
fire-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
info-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
load-tend-test tests/load-tend: New; exercises load and tend commands 2021-01-05 07:25:15 +01:00
navi-march-test navigate: Require all ships to start in the same sector 2015-02-28 16:13:14 +01:00
normalize.pl Make: Support shallow git clones for testing 2017-09-02 17:51:37 +02:00
retreat-test tests/retreat: Cover trains 2015-03-02 08:20:48 +01:00
smoke-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
test-common.sh config: Split table sect-chr for legibility 2017-08-06 19:59:58 +02:00
torpedo-test tests/torpedo: New; exercises torpedo command 2015-03-02 08:20:52 +01:00
update-test tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
version-test tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00