Received: by 10.192.165.156 with SMTP id m28csp229407imm; Tue, 10 Apr 2018 20:27:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx49S77abIxA3qrPDLmYTk+hHu8tNanFDd1iaXSHUoklGeC5nMElpyr3gmNQ7NamffJnoaDrp X-Received: by 2002:a17:902:579d:: with SMTP id l29-v6mr3152693pli.163.1523417276361; Tue, 10 Apr 2018 20:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523417276; cv=none; d=google.com; s=arc-20160816; b=vqHvi2CtV29BLTpVnF1dsc05Er0/E3MY0OpVDg3HzCvKYE3e+dUWmdXNCxYmE8lVs/ 4Ag7kQsgz4wMod0RVdSpo5oHR7IcNlYH+lEzUeLVMX+R9lp6jVgEZI9tdIctNv6zE1dY nuT323ZZXr6XS4nbItxbJKdCcH0nWA9FVaxUIZAmferItst+iwMUGpUqvVjQfaPOSc9T jsRhPDC72WpmOu99ns8O8So4vElEexYQIDAcmL/P614lqwK8R8sO5+lE0Ubho9dnfgPp GmjNReT8iwPWSE7K5oflHuxm4m9EkIo+46UlZv0hAK2Z2IFh5WyDTqjSZ8R1mL3cShr0 Ozzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=IPp/q3pyqq7Rvnu0TaksgpDyI7v/oTLymWW5+NyGay4=; b=L5HmPFqtKZq7Q2Fodg8eWjVvnaUbZeNkfqWFGhuEbksVcg2kwMvpayrLPFx3f/jnVk XloiZWu5SMhYpnbsDHcfwQv8VYR3UTxRD+gWZpqouoNGesjxhdYJATlNBG4WUjbVeLMq bH8adBlAQ0t6HobZFUMPUlv0onCITcMrkDrhgCOzXvykB1Ij6HB0y3ZMALJWTHsIOGjt KILQwEq1Y7IZAPzHcTBoHQ14KK0KYiXKikDkv/sJW6FF9by/S720tSi3IdCMrRgknIip 5kEqg2+kbd/Hx7P9XqFFij94j1NJZWqXW2hW+YOJcavoOJCawXhEMjF60vQs+EfEFaar PGEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i127si132528pgc.568.2018.04.10.20.27.19; Tue, 10 Apr 2018 20:27:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752834AbeDKDYT (ORCPT + 99 others); Tue, 10 Apr 2018 23:24:19 -0400 Received: from ozlabs.org ([203.11.71.1]:39739 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752103AbeDKDYP (ORCPT ); Tue, 10 Apr 2018 23:24:15 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 40LTsn2vpFz9s1j; Wed, 11 Apr 2018 13:24:13 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Shuah Khan , Christian Brauner Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, viro@zeniv.linux.org.uk, ebiederm@xmission.com, torvalds@linux-foundation.org, gregkh@linuxfoundation.org, Shuah Khan , Shuah Khan Subject: Re: [PATCH] selftests/filesystems: Don't run dnotify_test by default In-Reply-To: <3fb54ca8-bd31-4937-75f9-415a72eafaf2@osg.samsung.com> References: <20180410062053.8816-1-mpe@ellerman.id.au> <20180410094553.GB3438@gmail.com> <3fb54ca8-bd31-4937-75f9-415a72eafaf2@osg.samsung.com> Date: Wed, 11 Apr 2018 13:24:12 +1000 Message-ID: <87fu42l92b.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Shuah Khan writes: > On 04/10/2018 03:45 AM, Christian Brauner wrote: >> On Tue, Apr 10, 2018 at 04:20:53PM +1000, Michael Ellerman wrote: >>> In commit ce290a19609d ("selftests: add devpts selftests"), the >>> filesystems directory was added to the top-level selftests Makefile. >>> >>> That had the effect of causing the existing dnotify_test in the >>> filesystems directory to now be run as part of the default selftests >>> test-run. Unfortunately dnotify_test is actually an infinite loop. >>> >>> Fix it by moving dnotify_test to TEST_GEN_PROGS_EXTENDED, which says >>> that it's a generated file (ie. built) but should not be run as part >>> of the default test suite run (it's an "extendend" test). > > Typo - I can fix it when I apply it. Oops, thanks. >>> While we're here cleanup a few other things, devpts_pts should be in >>> TEST_GEN_PROGS to indicate that it's built, and with the above two >>> changes we no longer need a custom all or clean rule. >>> >>> Fixes: ce290a19609d ("selftests: add devpts selftests") >>> Signed-off-by: Michael Ellerman >> >> I'm not sure if I should've made it to be built given that it wasn't >> before but it probably doesn't hurt. It's either that or remove it I >> guess. > > This way the test gets built and gets included in the installed tests. > This way somebody can run it by itself. >> >> Acked-by: Christian brauner > > Thanks Michael. I will get this into 4.17-rc2 or rc3. Thanks. cheers