summaryrefslogtreecommitdiff
path: root/tests/lib/test_ringbuf.py
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-12-19 16:28:45 -0500
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-12-19 17:12:43 -0500
commit5318d8963816f607e8ab648eb17c784617b90270 (patch)
tree085ccbf03f8691f5c4d1546c8e4da02ba7ae71b8 /tests/lib/test_ringbuf.py
parent97c772b30bd54e2282df47c9fa87351fec06e033 (diff)
lib: add ring buffer
Simple ring buffer implementation useful for fixed size FIFO queues. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/test_ringbuf.py')
-rw-r--r--tests/lib/test_ringbuf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/test_ringbuf.py b/tests/lib/test_ringbuf.py
new file mode 100644
index 0000000000..860d872f86
--- /dev/null
+++ b/tests/lib/test_ringbuf.py
@@ -0,0 +1,4 @@
+import frrtest
+
+class TestRingbuf(frrtest.TestExitNonzero):
+ program = './test_ringbuf'