Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2248468pxu; Fri, 9 Oct 2020 11:35:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnTCyd+iiHZ34kxMfDpq5m8+tno7M0ygaV0/kH/35lfhOndrCFsZbO2hOI7jjn67fc53pJ X-Received: by 2002:a17:906:b841:: with SMTP id ga1mr15486596ejb.29.1602268502682; Fri, 09 Oct 2020 11:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602268502; cv=none; d=google.com; s=arc-20160816; b=kKeA6ZApSXmxZ9uLo2s5eGBis8qmx1F0JpU7cFYGULgFdbHSrO4csT4/MWEN1eI3L6 m4vJ1wKjqQMNZUCTzn4MfeNyjeNx42x7skDm17Ez+zCs8rcUE7js5VoXjKY6Fp+qVX5I Z0grfMBXksZHVo6wnfKcjA8dWoLUul4WLoWEks+6yz27nlnaDUlXBRhZ2bXF/OZoxiIY NJF9FTPuGFu1QrY8zfdvtSZSdvmbp80PUqlKvEMzN1S4+nCO4t2dEF+YzVRk5PuWdY7w fe2Rc9vr6MHPDdNus8dd6dE+YoaQYGPlaTVVgVnJh1/YvTYlNV22w7QVGv5+h9QNWPRW twbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=J+mp7F2Q0p5PAlSyyi+CtHLMUKf/55gM1msM+/trlO0=; b=gmSyxrgdxPNHCHPJkED9tys6JE+AiPFizV2JjZAabV0ElFoHYp8JNCPJTo/U4gefEI 9xNt3tswAUPYA2gf+Ni6DPNovNR2PmQ/L802k8Q/SoUjbq0ihoLMC/FCe6Oko6Z4vY6J Yoa2FXCUq2icecdBU+Yx+dfxfjKO7YX8KtBN5SXgNEq45rsJNvDjJ4MSu8vf6qI+Xu3A 2tzFw8EIrpasiPNNd/8sJVHxlVDVRTeDuTekPk60nkINJlq6vbdMOF+cM4pWzy0qrBHN Wvj2b7mSEQriehXVZXV6ApNo+6ce/qXfVlrTQYa/6Swoc0sg9PJLDjHaNPMSA9BHq7J0 qgng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si6346544edt.63.2020.10.09.11.34.39; Fri, 09 Oct 2020 11:35:02 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388325AbgJIMDm (ORCPT + 99 others); Fri, 9 Oct 2020 08:03:42 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:57010 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbgJIMDm (ORCPT ); Fri, 9 Oct 2020 08:03:42 -0400 Received: from ip5f5af0a0.dynamic.kabel-deutschland.de ([95.90.240.160] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kQr7c-00083q-DF; Fri, 09 Oct 2020 12:03:40 +0000 Date: Fri, 9 Oct 2020 14:03:39 +0200 From: Christian Brauner To: Tommi Rantala Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan , Christian Brauner Subject: Re: [PATCH 05/13] selftests: pidfd: use ksft_test_result_skip() when skipping test Message-ID: <20201009120339.vcg6vds2frawu7b6@wittgenstein> References: <20201008122633.687877-1-tommi.t.rantala@nokia.com> <20201008122633.687877-6-tommi.t.rantala@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201008122633.687877-6-tommi.t.rantala@nokia.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 08, 2020 at 03:26:25PM +0300, Tommi Rantala wrote: > There's planned tests != run tests in pidfd_test when some test is > skipped: > > $ ./pidfd_test > TAP version 13 > 1..8 > [...] > # pidfd_send_signal signal recycled pid test: Skipping test > # Planned tests != run tests (8 != 7) > # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:0 error:0 > > Fix by using ksft_test_result_skip(): > > $ ./pidfd_test > TAP version 13 > 1..8 > [...] > ok 8 # SKIP pidfd_send_signal signal recycled pid test: Unsharing pid namespace not permitted > # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:1 error:0 > > Signed-off-by: Tommi Rantala > --- Thanks, I never got around to fixing this myself. Acked-by: Christian Brauner