aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/vping/ping.sh
blob: 15f5e84e1190e7662e39e6c4bcc9a89d6dde6788 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh


ping -c 1 $1 2>&1 >/dev/null
RES=$?
if [ "Z$RES" = "Z0" ] ; then
    echo 'vPing OK'
else
    echo 'vPing KO'
fi