set a special port for the test mode
This commit is contained in:
parent
c41159b87e
commit
b053f464cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue