Received: by 10.213.65.68 with SMTP id h4csp3666245imn; Tue, 10 Apr 2018 02:42:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx486032UoYQT8StXN7M8ZF7hjeyN0RrvWmjbIhHNl1LsvzCC84PaOA9DOt1kc1WLqpz1RJ1b X-Received: by 2002:a17:902:4003:: with SMTP id b3-v6mr43827832pld.15.1523353335480; Tue, 10 Apr 2018 02:42:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523353335; cv=none; d=google.com; s=arc-20160816; b=hq8maIfn3EOv+Xt1k9/5Sg8RO6z17CnH1Srr52W3W79st77qHwPJj5w9AAuzcPoslV YRHJ5KoAKa3YSJ17etK7TXh7NKw4vcI74jWjvZtv/0fzdbVsclxJQWEROfWtEUvMy04T RiU9BRMu4ah1Gs1tp05zcy6Vvb9Y8z2pQIkG4HyVgqWlUAisggONm2xxurgd0hZ5xLGf CRJSBsNhYsOr40+sK/IrdoBchA5CZ5JFA1wf0P8CyK/FuBDTi4tJ6fpfzjpiVHMbnbzp wE/o1XQdYMLXgBXmdd7DU/gdZaoSm4o8d1/+5g+5iJbmv+GHvpki+PSiv+WMzGSHR3X6 RGuA== 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=KYAk+PnOt/O3OIYCtB08cBLv/h/oB2dfvCql0VvRSvI=; b=jvJxjgxHOmiy++5uj1+O0CjSrtvyDL8ry0vC/C18tKN8ezkTrgQ+yx7YzGQdCc+V43 A53cIN9LkZ+CVNgCnVLsiAJ1KMN8LekXj7Bd2U/1ydHdXI7GwUYD2vMSucsL7RvXh6EQ vtq2/LxBmhMZAlbWXPK4In6NnYv4CbJS7Twf0uVTgZgW5G2Q7BoITnwhShBX85vvr8cl jM7cDgFxLxcoq5Cjnk+C/xnvV7EalsgvIQJ7bZbxDE/BQuXkpOSaP8XNjyutYxzqz2dD yv1NFbr0nxzaXy5Bu/HYAcxRjyI4oRvcz5oP6yqvg/+xNPUkVC0Ph9ihUNJ071T2IJVy UaSQ== 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 l6si1827115pfj.26.2018.04.10.02.41.38; Tue, 10 Apr 2018 02:42:15 -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 S1752700AbeDJJeo (ORCPT + 99 others); Tue, 10 Apr 2018 05:34:44 -0400 Received: from ozlabs.org ([203.11.71.1]:57439 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbeDJJen (ORCPT ); Tue, 10 Apr 2018 05:34:43 -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 40L27f4Xt3z9s19; Tue, 10 Apr 2018 19:34:38 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Christian Brauner Cc: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, ebiederm@xmission.com, torvalds@linux-foundation.org, gregkh@linuxfoundation.org, containers@lists.linux-foundation.org Subject: Re: [PATCH 4/4 v5 RESEND] selftests: add devpts selftests In-Reply-To: <20180410084208.GA14520@mailbox.org> References: <20180313165527.24038-1-christian.brauner@ubuntu.com> <20180313165527.24038-5-christian.brauner@ubuntu.com> <87efjnbn0j.fsf@concordia.ellerman.id.au> <20180410084208.GA14520@mailbox.org> Date: Tue, 10 Apr 2018 19:34:36 +1000 Message-ID: <87bmerbe1f.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 Christian Brauner writes: > On Tue, Apr 10, 2018 at 04:20:44PM +1000, Michael Ellerman wrote: >> Christian Brauner writes: >> > diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile >> > index 7442dfb73b7f..dbda89c9d9b9 100644 >> > --- a/tools/testing/selftests/Makefile >> > +++ b/tools/testing/selftests/Makefile >> > @@ -7,6 +7,7 @@ TARGETS += cpufreq >> > TARGETS += cpu-hotplug >> > TARGETS += efivarfs >> > TARGETS += exec >> > +TARGETS += filesystems >> ^ This, and ... >> >> > diff --git a/tools/testing/selftests/filesystems/Makefile b/tools/testing/selftests/filesystems/Makefile >> > index 13a73bf725b5..4e6d09fb166f 100644 >> > --- a/tools/testing/selftests/filesystems/Makefile >> > +++ b/tools/testing/selftests/filesystems/Makefile >> > @@ -1,5 +1,5 @@ >> > # SPDX-License-Identifier: GPL-2.0 >> > -TEST_PROGS := dnotify_test >> > +TEST_PROGS := dnotify_test devpts_pts >> ^ >> this ... >> >> Have the unfortunate effect of running dnotify_test as part of the >> default selftest run. >> >> dnotify_test boils down to: >> >> while (1) { >> pause(); >> printf("Got event on fd=%d\n", event_fd); >> } >> >> >> ie. an infinite loop :) > > Hi Michael, > > Ugh, didn't notice this before. Weird test. No worries. It looks like it was copied from Documentation where it was really just sample code, rather than a test. >> I'll send a patch to fix it. > > Excellent, you can likely route it through Greg's tty tree. I've sent it to the kselftest list as well as Greg, so whoever wants to merge it is fine by me. cheers