# sv_game hashtest local test re-use
data/maps/
data/maps/_init.bsp
-data/maps/stormkeep.mapinfo
-data/maps/stormkeep.waypoints
-data/maps/stormkeep.waypoints.cache
data/stormkeep.pk3
test_sv_game:
stage: test
script:
- - export EXPECT=ded5d54d7a8326069f5f3d015cee1bf2
+ - export EXPECT=0406faebe1f4903266061f43557d0b1b
- qcsrc/tools/sv_game-hashtest.sh
- exit $?
rm -fv data/data/server.db
rm -dfv data/data/
#rm -fv data/maps/_init.bsp
- #rm -fv data/maps/stormkeep.mapinfo
- #rm -fv data/maps/stormkeep.waypoints
- #rm -fv data/maps/stormkeep.waypoints.cache
#rm -dfv data/maps/
set -e
createdtoday "data/stormkeep.pk3" \
|| wget -nv -O data/stormkeep.pk3 https://beta.xonotic.org/pipeline-bin/stormkeep.pk3
-createdtoday "data/maps/stormkeep.mapinfo" \
- || wget -nv -O data/maps/stormkeep.mapinfo https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.mapinfo
-createdtoday "data/maps/stormkeep.waypoints" \
- || wget -nv -O data/maps/stormkeep.waypoints https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints
-createdtoday "data/maps/stormkeep.waypoints.cache" \
- || wget -nv -O data/maps/stormkeep.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints.cache
if [ -z "${EXPECT-}" ]
then