ead1e536d6
Type: fix Since CentOS 8, RPM build script doesn't accept '#!/usr/bin/env python' as a valid shebang line. It requires scripts to explicitly chose between python2 or python3. Change all to use python3 as suggested by Paul Vinciguerra. Depends-On: https://gerrit.fd.io/r/23170 Signed-off-by: Renato Botelho do Couto <renato@netgate.com> Change-Id: Ie72af9f60fd0609e07f05b70f8d96e738b2754d1
30 lines
686 B
Python
30 lines
686 B
Python
#!/usr/bin/env python3
|
|
|
|
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)
|