set a special port for the test mode

This commit is contained in:
Gunter Labes 2008-09-01 12:19:10 +00:00
parent c41159b87e
commit b053f464cc

View file

@ -18,7 +18,7 @@ if [ "$1" = "--test" ]; then
shift
PARAMETERS=$*
cd $SERVERBASE/build || exit 1
bin/wesnothd-$SERVER -c $SERVERBASE/wesnothd.cfg --port $PORT $PARAMETERS
bin/wesnothd-$SERVER -c $SERVERBASE/wesnothd.cfg --port 15001 $PARAMETERS
# remove the socket so it looks like we never ran the server
rm var/run/socket
exit 0