blob: fe92378b4840fb4542ff386ecc86ab483bfa2af1 [file] [log] [blame]
Klement Sekerac09b7fd2019-06-04 21:14:26 +02001#!/usr/bin/env python
2
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)