summaryrefslogtreecommitdiffstats
path: root/tests/lib/test_frrscript.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_frrscript.py')
-rw-r--r--tests/lib/test_frrscript.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lib/test_frrscript.py b/tests/lib/test_frrscript.py
new file mode 100644
index 0000000..046d97b
--- /dev/null
+++ b/tests/lib/test_frrscript.py
@@ -0,0 +1,14 @@
+import frrtest
+import pytest
+
+if 'S["SCRIPTING_TRUE"]=""\n' not in open("../config.status").readlines():
+ class TestFrrscript:
+ @pytest.mark.skipif(True, reason="Test unsupported")
+ def test_exit_cleanly(self):
+ pass
+else:
+
+ class TestFrrscript(frrtest.TestMultiOut):
+ program = "./test_frrscript"
+
+ TestFrrscript.exit_cleanly()