aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kselftest_module.sh
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2019-08-30 18:51:47 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-31 23:47:25 -0700
commit02a3f0d5a70a865d55c4b7cb2e327cb30491f7fd (patch)
tree3cf1ac539f7c6e31a2acfa646c8232ff12bd1a33 /tools/testing/selftests/kselftest_module.sh
parentMerge branch 'net-dsa-microchip-add-KSZ8563-support' (diff)
downloadlinux-dev-02a3f0d5a70a865d55c4b7cb2e327cb30491f7fd.tar.xz
linux-dev-02a3f0d5a70a865d55c4b7cb2e327cb30491f7fd.zip
tc-testing: don't hardcode 'ip' in nsPlugin.py
the following tdc test fails on Fedora: # ./tdc.py -e 2638 -- ns/SubPlugin.__init__ Test 2638: Add matchall and try to get it -----> prepare stage *** Could not execute: "$TC qdisc add dev $DEV1 clsact" -----> prepare stage *** Error message: "/bin/sh: ip: command not found" returncode 127; expected [0] -----> prepare stage *** Aborting test run. Let nsPlugin.py use the 'IP' variable introduced with commit 92c1a19e2fb9 ("tc-tests: added path to ip command in tdc"), so that the path to 'ip' is correctly resolved to the value we have in tdc_config.py. # ./tdc.py -e 2638 -- ns/SubPlugin.__init__ Test 2638: Add matchall and try to get it All test results: 1..1 ok 1 2638 - Add matchall and try to get it Fixes: 489ce2f42514 ("tc-testing: Restore original behaviour for namespaces in tdc") Reported-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Davide Caratti <dcaratti@redhat.com> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/kselftest_module.sh')
0 files changed, 0 insertions, 0 deletions