]> 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)
commitcd364913ce76a4b17f30cfb41e5a1caea7731f91
treea43f62c014679e0f217684783a2a2f9a50eda9cb
parenta0ade166d41193d5f0f8e7efd3488f708a3ddb13
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