tests: Don't leak telegram counters from setup into test

Moving the telegram files away isn't enough, we also have to reset
nat_tgms.  actofgod/setup-POGO does it already, but fire/setup-POGO
doesn't.  Do it in begin_test instead, right where the telegram files
are moved away.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2014-01-12 09:30:54 +01:00
parent a109de948b
commit 370b9d1c07
4 changed files with 4 additions and 4 deletions

View file

@ -141,6 +141,7 @@ begin_test()
then feed_input POGO peter
else feed_files "$@"
fi
echo 'edit c * ?tgms>0 t 0' | feed_input POGO peter
stop_server
mv sandbox/var/empire/tel sandbox/var/empire/setup.tel
mv sandbox/var/empire/empty.tel sandbox/var/empire/tel