blob: f50f05c609af1cd2527bcc08b30337c348d75ef9 [file] [log] [blame]
Renato Botelho do Coutoead1e532019-10-31 13:31:07 -05001#!/usr/bin/env python3
Klement Sekerac09b7fd2019-06-04 21:14:26 +02002
3from framework import VppTestCase
4
5
6class TestBuffers(VppTestCase):
7 """ Buffer C Unit Tests """
8
9 @classmethod
10 def setUpClass(cls):
11 super(TestBuffers, cls).setUpClass()
12
13 @classmethod
14 def tearDownClass(cls):
15 super(TestBuffers, cls).tearDownClass()
16
17 def setUp(self):
18 super(TestBuffers, self).setUp()
19
20 def tearDown(self):
21 super(TestBuffers, self).tearDown()
22
23 def test_linearize(self):
24 """ Chained Buffer Linearization """
25 error = self.vapi.cli("test chained-buffer-linearization")
26
27 if error:
28 self.logger.critical(error)
29 self.assertNotIn('failed', error)