From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Dobriyan Subject: Re: [PATCH] proc: return exit code 4 for skipped tests Date: Mon, 14 Jan 2019 23:11:55 +0300 Message-ID: <20190114201155.GA9978@avx2> References: <20190108193108.GA12259@avx2> <87zhsahm1s.fsf@morokweng.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Thiago Jung Bauermann Return-path: Content-Disposition: inline In-Reply-To: <87zhsahm1s.fsf@morokweng.localdomain> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Jan 08, 2019 at 07:33:19PM -0200, Thiago Jung Bauermann wrote: > Alexey Dobriyan writes: > > --- a/tools/testing/selftests/proc/proc-loadavg-001.c > > +++ b/tools/testing/selftests/proc/proc-loadavg-001.c > > @@ -30,7 +30,7 @@ int main(void) > > > > if (unshare(CLONE_NEWPID) == -1) { > > if (errno == ENOSYS || errno == EPERM) > > - return 2; > > + return 4; > > return 1; > > } > > Can't these tests use the KSFT_SKIP macro defined in kselftest.h? They can! I tried to find a single use of XPASS and XFAIL and failed and now I just don't want to have anything to do with that header.