summaryrefslogtreecommitdiffstats
path: root/tests/lib/test_frrscript.py
blob: 046d97b014d4b2d8105269ab169039ed3fbb2830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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()