[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211209015817.37041-1-jie2x.zhou@intel.com>
Date: Thu, 9 Dec 2021 09:58:17 +0800
From: Jie2x Zhou <jie2x.zhou@...el.com>
To: davem@...emloft.net, kuba@...nel.org, shuah@...nel.org,
dsahern@...il.com
Cc: netdev@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, lkp@...el.com, xinjianx.ma@...el.com,
zhijianx.li@...el.com, Philip Li <philip.li@...el.com>,
zhoujie <jie2x.zhou@...el.com>
Subject: [PATCH v2] selftests: net: Correct ping6 expected rc from 2 to 1
From: zhoujie <jie2x.zhou@...el.com>
./fcnal-test.sh -v -t ipv6_ping
TEST: ping out, VRF bind - ns-B IPv6 LLA [FAIL]
TEST: ping out, VRF bind - multicast IP [FAIL]
ping6 is failing as it should.
COMMAND: ip netns exec ns-A /bin/ping6 -c1 -w1 fe80::7c4c:bcff:fe66:a63a%red
strace of ping6 shows it is failing with '1',
so change the expected rc from 2 to 1.
Fixes: c0644e71df33 ("selftests: Add ipv6 ping tests to fcnal-test")
Reported-by: kernel test robot <lkp@...el.com>
Suggested-by: David Ahern <dsahern@...il.com>
Signed-off-by: Jie2x Zhou <jie2x.zhou@...el.com>
---
tools/testing/selftests/net/fcnal-test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh
index 7f5b265fcb90..966787c2f9f0 100755
--- a/tools/testing/selftests/net/fcnal-test.sh
+++ b/tools/testing/selftests/net/fcnal-test.sh
@@ -2191,7 +2191,7 @@ ipv6_ping_vrf()
log_start
show_hint "Fails since VRF device does not support linklocal or multicast"
run_cmd ${ping6} -c1 -w1 ${a}
- log_test_addr ${a} $? 2 "ping out, VRF bind"
+ log_test_addr ${a} $? 1 "ping out, VRF bind"
done
for a in ${NSB_IP6} ${NSB_LO_IP6} ${NSB_LINKIP6}%${NSA_DEV} ${MCAST}%${NSA_DEV}
--
2.31.1
Powered by blists - more mailing lists