diff options
-rwxr-xr-x | testcases/VIM/OpenStack/CI/libraries/check_os.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/check_os.sh b/testcases/VIM/OpenStack/CI/libraries/check_os.sh index 88c760766..560205261 100755 --- a/testcases/VIM/OpenStack/CI/libraries/check_os.sh +++ b/testcases/VIM/OpenStack/CI/libraries/check_os.sh @@ -8,7 +8,7 @@ verify_connectivity() { for i in $(seq 0 10); do - if nc -vz $1 $2 &>/dev/null; then + if echo "test" | nc -v $1 $2 &>/dev/null; then return 0 fi sleep 1 |