Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-keyval
Commits
a660290b
Commit
a660290b
authored
May 02, 2018
by
Rob Latham
Browse files
allow testers to specify a transport
parent
11c4288c
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test-util.sh
View file @
a660290b
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment