[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190831.234752.1426223368664771629.davem@davemloft.net>
Date: Sat, 31 Aug 2019 23:47:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dcaratti@...hat.com
Cc: liuhangbin@...il.com, mrv@...atatu.com, vladbu@...lanox.com,
lucasb@...atatu.com, nicolas.dichtel@...nd.com,
netdev@...r.kernel.org, marcelo.leitner@...il.com
Subject: Re: [PATCH net] tc-testing: don't hardcode 'ip' in nsPlugin.py
From: Davide Caratti <dcaratti@...hat.com>
Date: Fri, 30 Aug 2019 18:51:47 +0200
> 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@...il.com>
> Signed-off-by: Davide Caratti <dcaratti@...hat.com>
Applied.
Powered by blists - more mailing lists