1
0
Fork 0
arangodb/scripts/unittest

24 lines
406 B
Bash
Executable File

#!/bin/bash
export PID=$$
if test -n "$ORIGINAL_PATH"; then
# running in cygwin...
PS='\'
export EXT=".exe"
else
export EXT=""
PS='/'
fi;
ulimit -n 2048
export PORT=`expr 1024 + $RANDOM`
export ETCD_NONO_WAL_SYNC=1
exec build/bin/arangosh \
-c etc${PS}relative${PS}arangosh.conf \
--server.endpoint tcp://127.0.0.1:${PORT} \
--javascript.execute UnitTests${PS}unittest.js \
-- \
"$@"