:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: ip macsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:27:46 ] :: [ PASS ] :: Command 'ip link add link dummy0 macsec0 type macsec sci 0100560212005452 encrypt on' (Expected 0, got 0) :: [ 00:27:46 ] :: [ PASS ] :: Command 'ip macsec add macsec0 rx sci 0100567212005452' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec add macsec0 rx sci 0100567212005452 sa 0 pn 1 on key 00 81818181818181818181818181816161' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec add macsec0 tx sa 0 pn 1 on key 00 81818181818181818181818181816161' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec add macsec0 tx sa 1 pn 1 on key 01 81818181818181818181818181816262' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip link set macsec0 up' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec show ttt' (Expected 1, got 1) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec show macsec0' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: must specify a key (Expected 1, got 1) :: [ 00:27:47 ] :: [ PASS ] :: must specify the pn (Expected 1, got 1) :: [ 00:27:47 ] :: [ PASS ] :: bad key length (Expected 2, got 2) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec add macsec0 tx sa 2 pn 100 key 53f7dbf3e0735ff4b0fdcb54a2c007b0 d7ded5592a2f4df3242c674ae8448a17' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec show | grep 53f7dbf3e0735ff4b0fdcb54a2c007b0' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec set macsec0 tx sa 2 pn 1024 off' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec set macsec0 tx sa 2 pn 1024 on' (Expected 0, got 0) :: [ 00:27:47 ] :: [ PASS ] :: Command 'ip macsec del macsec0 rx sci 0100567212005452' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 16 good, 0 bad :: RESULT: PASS (ip macsec)