empserver/tests/smoke
Markus Armbruster 2402f3f2a2 lost: Fix to track more than one lost sector per owner
makelost() overwrites an existing entry for the same thing, else
creates a new one.  It calls findlost() to find existing entries.
findlost() means to look up by coordinates if it's looking for a
sector entry, and by ID if it's looking for a ship, plane, land unit
or nuke entry.  It actually does both for sectors.  Since callers pass
zero ID for sectors, sector entries always match, so at most one gets
created, and additional ones overwrite it.

Broken since the lost table was introduced in 4.0.7.  Fix the flawed
comparison in findlost().

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:09:18 +02:00
..
00 tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00
01 tests: Factor feed_dir out of fire-test and smoke-test 2014-01-19 10:09:16 +01:00
02 tests: Factor feed_dir out of fire-test and smoke-test 2014-01-19 10:09:16 +01:00
03 tests: Factor feed_dir out of fire-test and smoke-test 2014-01-19 10:09:16 +01:00
04 update: Reorder feeding, tax & plague for consistency 2017-08-06 20:09:16 +02:00
05 update: Reorder sector production for speed 2017-08-06 20:08:31 +02:00
06 update: Reorder sector production for speed 2017-08-06 20:08:31 +02:00
07 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
08 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
09 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
10 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
11 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
12 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
13 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
14 update: Fix ship, plane, land unit repair work use abroad 2017-08-06 20:08:30 +02:00
15 tests/smoke: Run news 2017-08-06 20:09:17 +02:00
16 autonav: Remove the feature 2015-02-28 16:10:22 +01:00
99 tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00
fairland.xdump nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
final.xdump lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
journal.log lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
newcap_script Remove fairland from smoke test 2013-05-08 06:55:19 +02:00
server.log tests: Enable running_test_suite by default 2014-01-19 10:09:17 +01:00