network/traceroute01: make it compatible with Busybox
PATCH 1/1 network/traceroute01: make it compatible with Busybox
Busybox has not "-T" parameter, return TCONF in that case.
Signed-off-by Kory Maincent <[email protected]>
--- testcases/network/traceroute/traceroute01.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
testcases/network/traceroute/traceroute01.sh +5 -1
@@ -56,7 +56,11 @@ test1() test2() { tst_res TINFO "run traceroute with TCP SYN" - run_trace -T + if traceroute -T 2>&1 | grep -q "invalid option"; then + tst_res TCONF "Wrong version of traceroute, traceroute from busybox can not use TCP SYN" + else + run_trace -T + fi } tst_run
Signature · 1 line
2.17.1
PATCH 1/1 network/traceroute01: make it compatible with Busybox
Hi Kory,
Quoted 1 line
Busybox has not "-T" parameter, return TCONF in that case.
Thanks, merged with slightly updated message.
+ followup patch:
https://patchwork.ozlabs.org/project/ltp/patch/[email protected]/
Kind regards,
Petr
PATCH 1/1 network/traceroute01: make it compatible with Busybox
Hi Petr,
Quoted 6 lines · On Thu, 12 Nov 2020 18:41:34 +0100 Petr Vorel <[email protected]> wrote:
Hi Kory,
Quoted 1 line
Busybox has not "-T" parameter, return TCONF in that case.
Thanks, merged with slightly updated message.
+ followup patch:
https://patchwork.ozlabs.org/project/ltp/patch/[email protected]/
Ok thanks.
Regards,
Quoted 3 lines
Kind regards,
Petr
Signature · 3 lines
K?ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com