X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=ctdb%2Ftests%2Fcomplex%2F37_nfs_reset_server.sh;h=07bd034d6c7a75be868a6bc5a129f9eb33864d08;hb=f66a35b8beb8101a0064dfd58e494ec2f2fa40fd;hp=d6dd0f03b1ff7e14536a29159e302fd63eac512a;hpb=65ca5574b769d8b211b4c9550b62f8af126346e9;p=vlendec%2Fsamba-autobuild%2F.git diff --git a/ctdb/tests/complex/37_nfs_reset_server.sh b/ctdb/tests/complex/37_nfs_reset_server.sh index d6dd0f03b1f..07bd034d6c7 100755 --- a/ctdb/tests/complex/37_nfs_reset_server.sh +++ b/ctdb/tests/complex/37_nfs_reset_server.sh @@ -52,7 +52,7 @@ sleep_for 5 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with nc..." -nc -d -w $(($monitor_interval * 4)) $test_ip $test_port & +sleep $((monitor_interval * 4)) | nc $test_ip $test_port & nc_pid=$! ctdb_test_exit_hook_add "kill $nc_pid >/dev/null 2>&1"