selftests: net: Fix a typo in udpgro_fwd.sh
authorJianguo Wu <wujianguo@chinatelecom.cn>
Wed, 29 Dec 2021 07:27:30 +0000 (15:27 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Dec 2021 01:33:48 +0000 (17:33 -0800)
$rvs -> $rcv

Fixes: a062260a9d5f ("selftests: net: add UDP GRO forwarding self-tests")
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Link: https://lore.kernel.org/r/d247d7c8-a03a-0abf-3c71-4006a051d133@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/udpgro_fwd.sh

index 7f26591..6a3985b 100755 (executable)
@@ -132,7 +132,7 @@ run_test() {
        local rcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 8000' | \
                                                          sed -e 's/\[//' -e 's/:.*//'`
        if [ $rcv != $pkts ]; then
-               echo " fail - received $rvs packets, expected $pkts"
+               echo " fail - received $rcv packets, expected $pkts"
                ret=1
                return
        fi