diff options
| author | Ivan Vecera <ivecera@redhat.com> | 2026-10-14 14:14:12 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-10-20 11:10:58 +0200 |
| commit | b6ef0d965fe8ce0ee4b4dcb58b3511f83003e42d (patch) | |
| tree | a4216eee361bd4d6dec895ded86682f8ad20ebc3 /include/linux | |
| parent | 679f6929a66db9f5a6611dad37545fbd705962d5 (diff) | |
| download | linux-b6ef0d965fe8ce0ee4b4dcb58b3511f83003e42d.tar.gz linux-b6ef0d965fe8ce0ee4b4dcb58b3511f83003e42d.zip | |
selftests: tc-testing: use $IP in hfsc test 8c39 setup
Test 8c39 brings up lo with a bare "ip" command. nsPlugin runs it as
"$IP netns exec <ns> ip ...", and as tdc runs commands with an empty
environment, "ip netns exec" searches only the default execvp() path
(/bin:/usr/bin). On systems that install ip only in /sbin, like Fedora,
the setup fails:
# ./tdc.py -e 8c39
Test 8c39: HFSC classify walk still reaches leaf after lateral drift
-----> prepare stage *** Could not execute: "ip link set lo up"
-----> prepare stage *** Error message: "exec of "ip" failed: No such file or directory
Use $IP like all other tdc tests do.
Fixes: 1e24c4f2ee44 ("selftests: tc-testing: add a lateral-drift hfsc classify-walk test")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Victor Nogueira <victor@mojatatu.com>
Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn>
Link: https://patch.msgid.link/20261014121414.2373985-1-ivecera@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
