blob: fe92378b4840fb4542ff386ecc86ab483bfa2af1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/env python
from framework import VppTestCase
class TestBuffers(VppTestCase):
""" Buffer C Unit Tests """
@classmethod
def setUpClass(cls):
super(TestBuffers, cls).setUpClass()
@classmethod
def tearDownClass(cls):
super(TestBuffers, cls).tearDownClass()
def setUp(self):
super(TestBuffers, self).setUp()
def tearDown(self):
super(TestBuffers, self).tearDown()
def test_linearize(self):
""" Chained Buffer Linearization """
error = self.vapi.cli("test chained-buffer-linearization")
if error:
self.logger.critical(error)
self.assertNotIn('failed', error)
|