empserver/tests
Markus Armbruster 2315b50e52 update/revolt: Fix guerrilla liberating old-owned sector
Guerrilla are created loyal to the old owner.  When the sector
converts, they switch their allegiance to POGO.  This is a bit of a
hack.

When guerrilla win their fight for freedom in an old-owned sector, the
old-owner duly changes to POGO.  However, the owner doesn't.  Broken
in 4.2.6.  The "Sector X,Y has been retaken!" message is still sent to
the "new" sector owner.

Simply restoring the owner change lost back then would restore a bug
that goes back to 2.3.7: takeover() doesn't run when an old-owned
sector is liberated.  So fix the bug by making that unconditional.

Land units reported captured are actually destroyed, because POGO
can't own any.  Oh well.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:09:19 +02:00
..
actofgod lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
bridgefall lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
build nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
empdump nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
fairland nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
files nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
fire nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
info tests/info: New; checks info and code agree on commands 2014-01-06 20:50:06 +01:00
navi-march nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
retreat nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
smoke lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
torpedo nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
update update/revolt: Fix guerrilla liberating old-owned sector 2017-08-06 20:09:19 +02:00
version nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +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
navi-march-test navigate: Require all ships to start in the same sector 2015-02-28 16:13:14 +01:00
normalize.pl tests/smoke: Run news 2017-08-06 20:09:17 +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