]>
Commit | Line | Data |
---|---|---|
7ef5fefc CF |
1 | import frrtest |
2 | ||
0fb07d51 CF |
3 | import pytest |
4 | import platform | |
1808d46d | 5 | import socket |
7ef5fefc | 6 | |
1808d46d AJ |
7 | |
8 | ## | |
9 | # on musl, ntop compresses a single :0: -> :: which is against RFC | |
10 | ## | |
11 | def inet_ntop_broken(): | |
12 | addr = '1:2:3:4:0:6:7:8' | |
13 | return socket.inet_ntop(socket.AF_INET6, | |
14 | socket.inet_pton(socket.AF_INET6, addr)) != addr | |
15 | ||
16 | ||
17 | if platform.uname()[0] == 'SunOS' or inet_ntop_broken(): | |
0fb07d51 | 18 | class TestFuzzIsisTLV: |
1808d46d | 19 | @pytest.mark.skipif(True, reason='Test unsupported') |
0fb07d51 CF |
20 | def test_exit_cleanly(self): |
21 | pass | |
22 | else: | |
23 | class TestFuzzIsisTLV(frrtest.TestMultiOut): | |
24 | program = './test_fuzz_isis_tlv' | |
25 | ||
26 | TestFuzzIsisTLV.exit_cleanly() |