diff options
| author | Marcelo Mendes Spessoto Junior <marcelomspessoto@gmail.com> | 2026-08-07 19:09:38 -0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-11 18:24:55 -0700 |
| commit | bfad9937de98755fa73bba4181e1de05069e7d54 (patch) | |
| tree | 0d51779a48684378ec20e760a4a8adb24b660c6d /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | bc27fa08d090a0a921064ab9fa61b47d497c177d (diff) | |
selftests: net: test IPV6_FL_A_RENEW
RENEW was the only flow label action without selftests coverage.
Assert renew returns no error on correct usage and fails for labels
that do not exist.
This test is based on the previously implemented EXCL share test,
which demonstrates that a new flow label with the same value can be
created after the linger period. Renew is used here to show that a
flow label can last longer and block a new flow label creation after
the previous linger time. This test, however, demands sleep during
execution, and should be placed as a conditional test under the -l
option.
The addition of the expect_fail_errno helper is necessary to assert
the corresponding error when a function can fail in multiple ways.
Signed-off-by: Marcelo Mendes Spessoto Junior <marcelomspessoto@gmail.com>
Link: https://patch.msgid.link/20260807220942.421382-2-marcelomspessoto@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
