summaryrefslogtreecommitdiffstats
path: root/test/test_vlib.py
diff options
context:
space:
mode:
authorDmitry Valter <d-valter@yandex-team.ru>2022-03-26 15:43:14 +0000
committerDamjan Marion <dmarion@me.com>2022-03-27 09:21:34 +0000
commit3ace4d62e2dd23154f00dcc6eb7991477f7eb5c5 (patch)
treefeeb9e127a09b2e5f0dd349b671396f3004c52c4 /test/test_vlib.py
parent30bb344ab6c82d742d2e5a79f62f8d4868db16f1 (diff)
tests: fix core file message
Prevent crashing on nonexistent VPP binary path class member when creating testsuite core message. Type: fix Fixes: b23ffd7ef216463c35b75c831e6a27e58971f4ec Signed-off-by: Dmitry Valter <d-valter@yandex-team.ru> Change-Id: Ib9b3dc8c69317e6561e5404bbdcbf672e417cbcd
Diffstat (limited to 'test/test_vlib.py')
-rw-r--r--test/test_vlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_vlib.py b/test/test_vlib.py
index 1d5a3eb2594..242acab4594 100644
--- a/test/test_vlib.py
+++ b/test/test_vlib.py
@@ -187,7 +187,7 @@ class TestVlib(VppTestCase):
def test_vlib_main_unittest(self):
""" Private Binary API Segment Test (takes 70 seconds) """
- vat_path = self.vpp_bin + '_api_test'
+ vat_path = config.vpp + '_api_test'
vat = pexpect.spawn(vat_path, ['socket-name',
self.get_api_sock_path()])
vat.expect("vat# ", timeout=10)