Commit a660290b authored by Rob Latham's avatar Rob Latham
Browse files

allow testers to specify a transport

parent 11c4288c
......@@ -35,7 +35,7 @@ function test_start_server ()
startwait=${1:-15}
maxtime=${2:-120}
run_to ${maxtime} bin/sdskv-server-daemon -f $TMPBASE/sdskv.addr na+sm ${@:3} &
run_to ${maxtime} bin/sdskv-server-daemon -f $TMPBASE/sdskv.addr ${SDSKV_TEST_TRANSPORT:-"na+sm"} ${@:3} &
# wait for server to start
sleep ${startwait}
......@@ -47,7 +47,7 @@ function test_start_custom_server ()
startwait=${1:-15}
maxtime=${2:-120}
run_to ${maxtime} test/sdskv-custom-server-daemon -f $TMPBASE/sdskv.addr na+sm ${@:3} &
run_to ${maxtime} test/sdskv-custom-server-daemon -f $TMPBASE/sdskv.addr ${SDSKV_TEST_TRANSPORT:-"na+sm"} ${@:3} &
# wait for server to start
sleep ${startwait}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment