Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp318431rwd; Mon, 12 Jun 2023 14:08:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ40hYgMvWarLqTd0N6zj7NFG5AjNbw6ruZ/C6rM+Rkv6LXJ8OVIVkAYvUiVOFyMyNOHLyhI X-Received: by 2002:a17:906:fe0a:b0:94f:29f0:edc0 with SMTP id wy10-20020a170906fe0a00b0094f29f0edc0mr10991141ejb.44.1686604118177; Mon, 12 Jun 2023 14:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686604118; cv=none; d=google.com; s=arc-20160816; b=jFFLst44+O+kYIr47+doiVn2WARQrFJQ17GJ2FU9bMTE2/9QXri+W7hrWjtonlNEH0 pvizS4xsgMklRSjIsiNfn5RtZarYbFXcuDRvn7ejSPhd2Vvx41V80pr22LFCTIvJ9JHJ VRn5NXnToN3XIYAaf08C8OjADNLeIt9Lrkl2abIm7QPb7B5DexMGbLwyUFeicFzADFv7 /Vj92zvx2ZFZucFlc3SlDPtg6adXy0CNwKqM7NL3c4NX3K96BpRaQNtCHXKZI/LJMusJ E7R6RQtygpTFFz2yJyb7UkjCnzwAdODhc/w46X3s/6qPb2S8y/GAl0/FU3GFzzXCO3uJ 0AKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bgFY5U69WpKhgOTH4I7qaMpQ0pFWPoqi8iCq5kMr9cA=; b=OHx1iHpXHtofTSsGAdCZUbdYKjBvgGtn/q71WE19JgkuTolxubu01S9h85nS6Hz2Tg ze4LSjUDr7WKJXw+iKsU4b/z7YJqK6H/tFVq29FkI/r1Hvjb1MVZk0r9beNducHdqA5N CaeM2B9qaYQN1rK5YaT+m9SqaNOcCH8W2L/+BMI0Obtqz0P4nsP0lbwxLWEy5fBL70XE EHLxo9nbjUjKcW1fQI9aIKw4LtcTtkz6GHdvtDfDxdRh93wW+Ea+ge0LF16VUkgLYz6a v1i34MqAWB2ZcEX5b+cvWSRRgE6mlpYcoMyaDlvaEM/f0fvbdh38qxikJlXm2EnmSDmO U2gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hcNK4cKf; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a170906341400b0096f7b069067si5561036ejb.142.2023.06.12.14.08.14; Mon, 12 Jun 2023 14:08:38 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=hcNK4cKf; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237728AbjFLUt1 (ORCPT + 99 others); Mon, 12 Jun 2023 16:49:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237693AbjFLUrs (ORCPT ); Mon, 12 Jun 2023 16:47:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BEC02961 for ; Mon, 12 Jun 2023 13:46:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B336362F17 for ; Mon, 12 Jun 2023 20:45:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 390DEC43329; Mon, 12 Jun 2023 20:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686602717; bh=xokCziXLY0wg8Xt5fKYpSkuWrnPGYJ0bTQ1zvGDvk1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hcNK4cKfVeMexgNye0UAvuYqAGadB2wQUEiBAVuVCQ2Ti00E1VtWUueWjjmZVJ32g Xc7gzAyo3SVELeUx5SZ+uQV5ljrYTdAq6f+IcKYkOFOTGdAxE9+AGxwb7nBVGRlq75 x/AFXKv9vN/UWtNWjzAvNJHkUzzK7MEqNnkpa6rCLZ9o8ccU6Jsjz8aZI7rkvtQM2D W12VSeTG4MyLYXQ9OnDpCTeqe3OyjJ+ifQHDZVkWOpXKqrB8zEv5EB6RvQAdpUQ2sD p4pXcRBbmxGnGGsyrGxGIy+BIt06VEarzV8jHL4uZbqtWb/h7gMl6MBofLjedLBLeR CErAd6NPDo/PQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 0BAD4CE3A81; Mon, 12 Jun 2023 13:45:16 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu, Zhangjin Wu , Willy Tarreau , "Paul E . McKenney" Subject: [PATCH v2 nolibc 38/53] selftests/nolibc: remove the duplicated gettimeofday_bad2 Date: Mon, 12 Jun 2023 13:44:59 -0700 Message-Id: <20230612204514.292087-38-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> References: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhangjin Wu There were two exactly similar occurrences of this test. Signed-off-by: Zhangjin Wu Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- tools/testing/selftests/nolibc/nolibc-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index ffdf1e8c305c..d417ca5d976f 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -587,7 +587,6 @@ int run_syscall(int min, int max) #ifdef NOLIBC CASE_TEST(gettimeofday_bad1); EXPECT_SYSER(1, gettimeofday((void *)1, NULL), -1, EFAULT); break; CASE_TEST(gettimeofday_bad2); EXPECT_SYSER(1, gettimeofday(NULL, (void *)1), -1, EFAULT); break; - CASE_TEST(gettimeofday_bad2); EXPECT_SYSER(1, gettimeofday(NULL, (void *)1), -1, EFAULT); break; #endif CASE_TEST(getpagesize); EXPECT_SYSZR(1, test_getpagesize()); break; CASE_TEST(ioctl_tiocinq); EXPECT_SYSZR(1, ioctl(0, TIOCINQ, &tmp)); break; -- 2.40.1