]> git.proxmox.com Git - mirror_frr.git/blob - tests/isisd/test_fuzz_isis_tlv.py
Merge pull request #11568 from anlancs/fix/minor-4
[mirror_frr.git] / tests / isisd / test_fuzz_isis_tlv.py
1 import frrtest
2
3 import pytest
4 import platform
5 import socket
6
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 (
14 socket.inet_ntop(socket.AF_INET6, socket.inet_pton(socket.AF_INET6, addr))
15 != addr
16 )
17
18
19 if platform.uname()[0] == "SunOS" or inet_ntop_broken():
20
21 class TestFuzzIsisTLV:
22 @pytest.mark.skipif(True, reason="Test unsupported")
23 def test_exit_cleanly(self):
24 pass
25
26
27 else:
28
29 class TestFuzzIsisTLV(frrtest.TestMultiOut):
30 program = "./test_fuzz_isis_tlv"
31
32 TestFuzzIsisTLV.exit_cleanly()