aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries/check_os.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-01-12 10:14:11 -0500
committerJose Lausuch <jose.lausuch@ericsson.com>2016-01-12 15:22:26 +0000
commit6a2c6e9b9f0bff065f4d758fd3977d715b1a01e0 (patch)
tree2016c11f97938abf9bda33cf324808cc6edf2d7c /testcases/VIM/OpenStack/CI/libraries/check_os.sh
parent3393c576d60d3c2c24aba8b7110473dfafb99420 (diff)
Fixes netcat for multiple platforms
netcat package on LF POD1 missing -z arg. This update allows for netcat to be used when platforms are missing it. Change-Id: I09fb9986520018a92a1c9147a2948ae5029bb3e3 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 83cb89a2cd3b95acab7f616533653493354138c1)
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries/check_os.sh')
-rwxr-xr-xtestcases/VIM/OpenStack/CI/libraries/check_os.sh2
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