Message ID | 20230227-upstream-net-20230227-mptcp-fixes-v2-5-47c2e95eada9@tessares.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp335078wrd; Thu, 9 Mar 2023 06:59:45 -0800 (PST) X-Google-Smtp-Source: AK7set9vyXptmkbhF/c2j3VexZa+dT1HvgoBlj4n0k0vzoc3z+SXZcEMTcsEvJPkMcolC5NXJR7g X-Received: by 2002:a17:90a:16:b0:233:fdfd:711c with SMTP id 22-20020a17090a001600b00233fdfd711cmr22402566pja.33.1678373985299; Thu, 09 Mar 2023 06:59:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678373985; cv=none; d=google.com; s=arc-20160816; b=O7UhnI+zik9RAollO/hW8/nyKLqRkNKq1fQ4juCVyDr2KGD77w059VS/Murmf58Eeq Kn7bqJaa3YBCHzmOX8sFrxI9Z7PLtxF3J534IbEVh7xp44+M6L/KC+Z3A4MBhsh84pyZ 7F+Q4CSl61u3bH1VJfMy46MbpXaVLgR4m527faE1os8yidsp8P7zdIIdtrNUsmqNovHe Z0QPKUExLSvX26PotiOFFld8O6q4whX9cSnm7xB2ltLXzojn9du0mANBUe6DbnvVMuPR EslMfL4EUE0jIQcLFtdfz6rw8/pH3VdMnogosXHWu0UjJdADzflpY2FlbVhmPf99CY3j hc/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=jgeAurw5MQ6tabjrQfM6Jio39u1LTtRrLhUhKbdYExw=; b=q+iRm8R/2UDl8g5hWj2NI7nEPTpBes2qgURq+1qH4wYTiekh5apxGojW8FK6FvaP80 thRkUF4Lj9PRP+yftQrocDGQ4I7Gn17rGppPP5k8UAsCDWdTMEz48woJ8fw4+T47IsFb E4zAEewKl6lWkFQCOGGRmo6tEBlI/c/g5fDXKTzzXClSkGRvCwDWeKIUXmUvhBA3rd3L MCs2d5lwX3Kcsrg+j/VoPCexG1JwepznZwxNn3SGkPphoTgHSx1i4XBSAM4HSV486lIt 5tTemT+YPjdDMQtY+EcWUkCIqOJXSbwq32XyVc39NC9CCVY7uyGVbA0jG7LhDRnAzAvH +NEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=Cg0nkh6N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=tessares.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk13-20020a17090b224d00b00230d1e278aasi74313pjb.41.2023.03.09.06.59.30; Thu, 09 Mar 2023 06:59:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=Cg0nkh6N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=tessares.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231981AbjCIOxw (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Thu, 9 Mar 2023 09:53:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231964AbjCIOw4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Mar 2023 09:52:56 -0500 Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33674F0FC9 for <linux-kernel@vger.kernel.org>; Thu, 9 Mar 2023 06:51:04 -0800 (PST) Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-1755e639b65so2555065fac.3 for <linux-kernel@vger.kernel.org>; Thu, 09 Mar 2023 06:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares.net; s=google; t=1678373464; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=jgeAurw5MQ6tabjrQfM6Jio39u1LTtRrLhUhKbdYExw=; b=Cg0nkh6N2mnjRz9oTVqPcSePKZ79I3DFoF4oYbVoCbQoneyBkvdhLSvDYAoWoj+ygm QUWczEK5ebPtwC2CpLRzNAM5BpXz6MDMkQ22ipB8a8cufp2P7GPp/SfzWbDp2hhgQ9lN O7hSOmFAtCpo1po6Am5b53KS2MU/Sno8zilT1TY1kTUwjC48l6kLME6HZ4NHy/WUU+YJ wyf/LHSilpyCnkBaY9L7hX0gWhCauTZyubwK1AJ2gDAHBLAjTWWr5PzytSQTzanr79CO eHrF/38A6oN4JvMCOZQjt2A+88k3w0gSQWZ65EECf5s+TxC3mubzRg+sAgOaSh9tMbZ4 DAgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678373464; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jgeAurw5MQ6tabjrQfM6Jio39u1LTtRrLhUhKbdYExw=; b=T2R/2hrFxRqLXzFsYebSeeQ1wijlmcTPYqSA8FxPL6PEfH434HHQazg/gZb98EZli/ 6b39UAtdeZq7EW7IjQPW8A98LOqmB4W+nw2ITNSB3m/YZy+6uk1MMUHrpjbOUXd9L0bM 2HWRwX9e0Puxi9dah3IPqFTwQDhARQ99oKlhNaHo6y19HMG8GAE/GzP3GCBCo1iYrr8h lgrid8diNOcBzvFiLHYelOr3e0sDvN445PutLgMASRkRVxhPwMSzGebDP+ChCObYDc9S J1RlfBrg2DkfKZFGF/a+zNTcv/LmESV0Lg3oC/0M8ArqjpWFTLWFL0PFATmgAiErcCxg Vpvg== X-Gm-Message-State: AO0yUKWLvw1mjB6pevYTsQqSqjs/3dACUZCJE5wcCrL5grltVgchX/F6 wONR3YEIQ8A4X95AfJcOlVI8nQ== X-Received: by 2002:a05:6870:8090:b0:163:97bd:814d with SMTP id q16-20020a056870809000b0016397bd814dmr15161728oab.27.1678373461384; Thu, 09 Mar 2023 06:51:01 -0800 (PST) Received: from vdi08.nix.tessares.net (static.219.156.76.144.clients.your-server.de. [144.76.156.219]) by smtp.gmail.com with ESMTPSA id ax39-20020a05687c022700b0016b0369f08fsm7351116oac.15.2023.03.09.06.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:51:01 -0800 (PST) From: Matthieu Baerts <matthieu.baerts@tessares.net> Date: Thu, 09 Mar 2023 15:50:01 +0100 Subject: [PATCH net v2 5/8] selftests: mptcp: userspace pm: fix printed values MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230227-upstream-net-20230227-mptcp-fixes-v2-5-47c2e95eada9@tessares.net> References: <20230227-upstream-net-20230227-mptcp-fixes-v2-0-47c2e95eada9@tessares.net> In-Reply-To: <20230227-upstream-net-20230227-mptcp-fixes-v2-0-47c2e95eada9@tessares.net> To: mptcp@lists.linux.dev, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Mat Martineau <martineau@kernel.org>, Jiang Biao <benbjiang@tencent.com>, Menglong Dong <imagedong@tencent.com>, Mengen Sun <mengensun@tencent.com>, Shuah Khan <shuah@kernel.org>, Florian Westphal <fw@strlen.de> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Matthieu Baerts <matthieu.baerts@tessares.net>, stable@vger.kernel.org, Geliang Tang <geliang.tang@suse.com> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1019; i=matthieu.baerts@tessares.net; h=from:subject:message-id; bh=mevXKVwguJYVDj5NKWsKg6dJCzPlEP7cAxuF4rctlYE=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBkCfIhuwuqoRrEHcNzQiGfZqVb0x2N6M0XyYmps ACVicEN6GaJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZAnyIQAKCRD2t4JPQmmg c1d5D/9ElMBnE7hj2nLsVC/JHhBeGhtZgtA8SuE7YnP5mypX/lRaQU2u2LxrS41LX7WB2sC+r98 sZXYmpxByWVZuYaKxRLYah2t/cT4Payeo3YALz8YusFmFvTH+XjD83L3RF74Tdar2HLxZO/ltbh IOwUYL+Q5kK9SzgMGcs3iqHDgLIPxXua3VIaoISTBGFb/IVG5NrnePIjX9DHC540aFJhEzbTNmP u13iD4qiUk35/Hl0CmOiENKHCFKPXsX3sB+/FhMg7F4U1COL+lpZlI4kIJFn8V+jYWj2+uZQewy YcNYyj5nX2I2dN09nvqKFRavFdu4HQ/s5+l2dD2Z08Lo+FQhJs3YTBVYSENI+c/yv6+UHF5Gtl0 ujVKYf0QMQHl3biQesi7hQ3TKNH6ul7jflAKDBkhhMVsRnXnp/rCWTGKgKYc5MqWR4ZahAiasQA ERDILknXE8YWKXj0aoUoeYZusBm35XIeVHAQASkKUZi6XqC23I6RxHXQsWTyVfMf39Q8mvfxVct iVL4ZVpecMjlw9jYEEo60rbPeoPq7ns2KjXaF3mW/5sfp2434uVL8LoWAbKnGGVB2kiGZSij2Up WTCwCJJxWfc8wsY/2XNMT70Fll1AlS3UzIq1WzqXG+BFHQFwlJ88cGBzhLTNtUQkINroO0QvNSL Qi1YMRHJjDLp0Uw== X-Developer-Key: i=matthieu.baerts@tessares.net; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759902679527012875?= X-GMAIL-MSGID: =?utf-8?q?1759902679527012875?= |
Series |
mptcp: fixes for 6.3
|
|
Commit Message
Matthieu Baerts
March 9, 2023, 2:50 p.m. UTC
In case of errors, the printed message had the expected and the seen value inverted. This patch simply correct the order: first the expected value, then the one that has been seen. Fixes: 10d4273411be ("selftests: mptcp: userspace: print error details if any") Cc: stable@vger.kernel.org Acked-by: Geliang Tang <geliang.tang@suse.com> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> --- tools/testing/selftests/net/mptcp/userspace_pm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/mptcp/userspace_pm.sh b/tools/testing/selftests/net/mptcp/userspace_pm.sh index 66c5be25c13d..48e52f995a98 100755 --- a/tools/testing/selftests/net/mptcp/userspace_pm.sh +++ b/tools/testing/selftests/net/mptcp/userspace_pm.sh @@ -240,7 +240,7 @@ check_expected_one() fi stdbuf -o0 -e0 printf "\tExpected value for '%s': '%s', got '%s'.\n" \ - "${var}" "${!var}" "${!exp}" + "${var}" "${!exp}" "${!var}" return 1 }