]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: modify IOAM tests for undef bits
authorJustin Iurman <justin.iurman@uliege.be>
Mon, 11 Oct 2021 18:04:12 +0000 (20:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Oct 2021 10:49:49 +0000 (11:49 +0100)
commit9f13d435e3e7bea7fcb07ab80c775ad1327b05db
treea43f62c014679e0f217684783a2a2f9a50eda9cb
parente8871b9691853c88a51d17f55eeafdc198693542
selftests: net: modify IOAM tests for undef bits

The output behavior for undefined bits is now directly tested inside the bash
script. Trying to set an undefined bit should be refused.

The input behavior for undefined bits has been removed due to the fact that we
would need another sender allowed to set undefined bits.

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/ioam6.sh
tools/testing/selftests/net/ioam6_parser.c