Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3870181pxb; Tue, 17 Nov 2020 05:51:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxERCr9eNsvRaZYwwI2lT67/jPv4LDa7xqf/cb0QWBzq6Di2wtfxngU4p4TTXq5mJ5NvIv2 X-Received: by 2002:a17:906:e2c3:: with SMTP id gr3mr18900029ejb.471.1605621088442; Tue, 17 Nov 2020 05:51:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605621088; cv=none; d=google.com; s=arc-20160816; b=hExyoxCFcOV54g31WCZOOJxtG41aQ/+B1tvOYgPrRlkCZpNVAu+eSfgp3Sxrj/0Y1C BjeyO+MNWeRi6Q7/8zGIS1oYgJDSoitznme80r51VEWlZfnIho7v4TXqCQbEFNu40HRH gXvYZ84GwiHUN5DW0dtqfTj2dRZwkLUD3UOgqVe1CTW9Ivn46svJSwFON75/tMlTFulY P70VBRxKhzVy1QidCkYnlzwl55tWtjtWUvoHGOuhkhc2ds371X02ka4F/7t47c0YtAbG VWqlttXDpLCXEDN1goznYV8EmZ+AJTUd/ZSvQdyqS1iMyDvYh4PCut1rpd7M/Zo/Qiaq Gyxw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=IVQlvZWHqUjiXEp84YOM/MuhNccDAUyCyAPGY2TnND4=; b=egVWYI1MzosxlKtK22WnPwS93RnfUHMgvfFgnUqE3LlT6HtG8SmWRwyWezq7aNsNs/ NdUAvyFnD0YkFGmRZn+QjQ0UXkJBG5VRYmnOojgY2hKLndJQ3CRTo0SA3OV28pvuiDL9 emk6Br2/oOGPAUdbkPPEs6Xb52kVKkWReBgnvmleUv0BsvgmnSF9/gM/HCL+qapVNGks wjbwOIvrjdUxeGfpak+rb8MwsGNYchKP58yKFs7kEVbIqYpKLCS1yDa83CuW6ldTXMJa GZmhxc2yjDSJMZ8JkVmZrbQB2UwrU40dEJ1YlVbfD9hfaASYFYoU7ZE1OHWkyptuy1y4 zhKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OtZSp8sq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si13685106ejr.127.2020.11.17.05.51.05; Tue, 17 Nov 2020 05:51:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OtZSp8sq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732392AbgKQNe4 (ORCPT + 99 others); Tue, 17 Nov 2020 08:34:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:44850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732168AbgKQNeW (ORCPT ); Tue, 17 Nov 2020 08:34:22 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A9DC52078E; Tue, 17 Nov 2020 13:34:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605620061; bh=umLz3Ny5unA35GO4UGLFZMYWWaZDmOBQvjHulUFh4q8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OtZSp8sqswoHQ+xukBaC2N62lnIxCiiXzD5d9OArgT8PqEUOzSGeCCHepeNvsRoNF odFJvuED+ydy7S0Yszt/PR32RafsucQwEepIh15wrbZJGRXZnfXRi6EilQzyriYoT1 sFVc69Q4yRSIDeK4qfZHjmAEa/NRjcCRM4bi1JHs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tommi Rantala , Kees Cook , Christian Brauner , Shuah Khan , Sasha Levin Subject: [PATCH 5.9 065/255] selftests: core: use SKIP instead of XFAIL in close_range_test.c Date: Tue, 17 Nov 2020 14:03:25 +0100 Message-Id: <20201117122142.116163624@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122138.925150709@linuxfoundation.org> References: <20201117122138.925150709@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tommi Rantala [ Upstream commit 1d44d0dd61b6121b49f25b731f2f7f605cb3c896 ] XFAIL is gone since commit 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP"), use SKIP instead. Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") Signed-off-by: Tommi Rantala Reviewed-by: Kees Cook Acked-by: Christian Brauner Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/selftests/core/close_range_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/core/close_range_test.c b/tools/testing/selftests/core/close_range_test.c index c99b98b0d461f..575b391ddc78d 100644 --- a/tools/testing/selftests/core/close_range_test.c +++ b/tools/testing/selftests/core/close_range_test.c @@ -44,7 +44,7 @@ TEST(close_range) fd = open("/dev/null", O_RDONLY | O_CLOEXEC); ASSERT_GE(fd, 0) { if (errno == ENOENT) - XFAIL(return, "Skipping test since /dev/null does not exist"); + SKIP(return, "Skipping test since /dev/null does not exist"); } open_fds[i] = fd; @@ -52,7 +52,7 @@ TEST(close_range) EXPECT_EQ(-1, sys_close_range(open_fds[0], open_fds[100], -1)) { if (errno == ENOSYS) - XFAIL(return, "close_range() syscall not supported"); + SKIP(return, "close_range() syscall not supported"); } EXPECT_EQ(0, sys_close_range(open_fds[0], open_fds[50], 0)); @@ -108,7 +108,7 @@ TEST(close_range_unshare) fd = open("/dev/null", O_RDONLY | O_CLOEXEC); ASSERT_GE(fd, 0) { if (errno == ENOENT) - XFAIL(return, "Skipping test since /dev/null does not exist"); + SKIP(return, "Skipping test since /dev/null does not exist"); } open_fds[i] = fd; @@ -197,7 +197,7 @@ TEST(close_range_unshare_capped) fd = open("/dev/null", O_RDONLY | O_CLOEXEC); ASSERT_GE(fd, 0) { if (errno == ENOENT) - XFAIL(return, "Skipping test since /dev/null does not exist"); + SKIP(return, "Skipping test since /dev/null does not exist"); } open_fds[i] = fd; -- 2.27.0