diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ping.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ping.py b/meta/lib/oeqa/runtime/cases/ping.py index fcb72d4543..f72460e7f3 100644 --- a/meta/lib/oeqa/runtime/cases/ping.py +++ b/meta/lib/oeqa/runtime/cases/ping.py | |||
@@ -17,6 +17,7 @@ class PingTest(OERuntimeTestCase): | |||
17 | def test_ping(self): | 17 | def test_ping(self): |
18 | output = '' | 18 | output = '' |
19 | count = 0 | 19 | count = 0 |
20 | self.assertNotEqual(len(self.target.ip), 0, msg="No target IP address set") | ||
20 | try: | 21 | try: |
21 | while count < 5: | 22 | while count < 5: |
22 | cmd = 'ping -c 1 %s' % self.target.ip | 23 | cmd = 'ping -c 1 %s' % self.target.ip |