@cryptotaxi247 / kubo / commits / cb0ad0d6c

fix starting iptb nodes with additional arguments

License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Jul 6, 2018 at 23:33 UTC cb0ad0d6ce5358aee864114c47857c99b0e2d5f8
1 file changed +3 -3
test/sharness/lib/iptb-lib.sh
+3 -3
@@ -35,9 +35,9 @@ startup_cluster() {
35 bound=$(expr "$num_nodes" - 1)
36
37 if test -n "$other_args"; then
38 - test_expect_success "start up nodes with additional args" '
39 - iptb start --args $other_args
40 - '
38 + test_expect_success "start up nodes with additional args" "
39 + iptb start --args \"${other_args[@]}\"
40 + "
41 else
42 test_expect_success "start up nodes" '
43 iptb start