:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: check MTU :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link add link dummy0 macsec0 type macsec' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: default real_dev MTU is 1500 (Assert: '1500' should equal '1500') :: [ 17:54:30 ] :: [ PASS ] :: default macsec header + tailer is 32 (Assert: '1468' should equal '1468') :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link del macsec0' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link add link dummy0 macsec0 type macsec cipher default icvlen 8' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: set macsec tailer to 8 (Assert: '1476' should equal '1476') :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link del macsec0' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link add link dummy0 macsec0 type macsec cipher default icvlen 16' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: set macsec tailer to 16 (Assert: '1468' should equal '1468') :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link del macsec0' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link add link dummy0 macsec0 type macsec' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link set dummy0 mtu 9000' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link set macsec0 mtu 9000' (Expected 2, got 2) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link set macsec0 mtu 100' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link set macsec0 mtu 1500' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link set macsec0 mtu 3000' (Expected 0, got 0) :: [ 17:54:30 ] :: [ PASS ] :: Command 'ip link set macsec0 mtu 8968' (Expected 0, got 0) :: [ 17:54:31 ] :: [ PASS ] :: Command 'ip link set dummy0 mtu 9000' (Expected 0, got 0) :: [ 17:54:31 ] :: [ PASS ] :: macsec should adapt to real_dev (Assert: '8968' should equal '8968') :: [ 17:54:32 ] :: [ PASS ] :: Command 'ip link set dummy0 mtu 5000' (Expected 0, got 0) :: [ 17:54:32 ] :: [ PASS ] :: macsec should adapt to real_dev (Assert: '4968' should equal '4968') :: [ 17:54:33 ] :: [ PASS ] :: Command 'ip link set dummy0 mtu 1500' (Expected 0, got 0) :: [ 17:54:33 ] :: [ PASS ] :: macsec should adapt to real_dev (Assert: '1468' should equal '1468') :: [ 17:54:34 ] :: [ PASS ] :: Command 'ip link set dummy0 mtu 100' (Expected 0, got 0) :: [ 17:54:34 ] :: [ PASS ] :: macsec should adapt to real_dev (Assert: '68' should equal '68') :: [ 17:54:35 ] :: [ PASS ] :: Command 'ip link del macsec0' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 6s :: Assertions: 26 good, 0 bad :: RESULT: PASS (check MTU)