tests/version: New; exercises config introspection commands

Exercise version, show and xdump, except for xdump of game state.

The xdump part is mostly factored out of tests/smoke.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-05-29 19:27:13 +02:00
parent f75d0e10f2
commit 9309670544
16 changed files with 3226 additions and 2929 deletions

View file

@ -84,6 +84,9 @@ customize()
copy_tables sect
sed_i '/"c" .* norm/d;/^#.*"c" .* cana/s/^#/ /' sandbox/etc/empire/sect.config
;;
trade-ship)
copy_tables ship
sed_i '/"ts trade ship"//^#/ /' sandbox/etc/empire/ship.config
esac
done
echo "custom_tables \"`cd sandbox/etc/empire && echo *.config`\"" >>$econfig