Received: by 10.213.65.68 with SMTP id h4csp3669162imn; Tue, 10 Apr 2018 02:46:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+MMFdIuekq8SO/43kw/B81DsUi6qLs/7a1Kpefr9KlI/yw+CU5MrV/vKaZHmsG/3S2F7zz X-Received: by 2002:a17:902:b90b:: with SMTP id bf11-v6mr5496521plb.399.1523353561277; Tue, 10 Apr 2018 02:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523353561; cv=none; d=google.com; s=arc-20160816; b=eTgumWS0o6i2lN+hWXdfU8Dcz3WFmGBiod8bPRXHcpOxhdRmK3SUQBGduOXfyfUgXv r8D/kBz8sPDbomUXaSPGCNj7a/hjB0aS5rKi7WtG/1DjMVKD7d/SdTvO6DHPOc8DAHrS XpuA0AdUkuet/P4JhSVh/omiUAiTHOZV2ZqCcMtcdaNa6zpeKei1F8BiBRUZAkpWrCHf /4vvvZicoVAsiPMfcv/G1N3XysPB78cVGJhULZCdSRUdXcS6+ldFVirIKAKpWoGbg6dd Y9jM/xKvSCv42yflmYGMAVBBxnw9lIDcN9s9cPV4rnjMaQiO64LBrUfvZsKV3/e1y0cz Y88w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=v+u1SGY8cGKRBaJTwYl2+DAu+HyhrJROYTtS7JwQbEs=; b=D1G52xM4wVdX9OOfsbbsYN/JAMQB61sedTj3ongXmHretFIdlMCI/edZm4x9xXqTRQ 8+xHdsWvw1CGpbtJBmLpNLyBp3u8kWJyO953Go1rQDYwU/e8wvgWghivtYsqYW53xFum UrjV7mOC7vhwaHFAD6rElUbPpZiQfcWVO7qi7qOyvGkZyJKmzoq5oF/eOZaqZBGsEbQ2 6oF68fDi9DASS/vUJ+yh00l/smUvhHhOLmnG2OgL7P8Pc169PjKXe3vKSWCcnqLeQjUA 4WJt3r83d2+HpO3/Y4csbPjTKbxTF1kXGzj3AAz/N6c213TXKD5w5uLL8MvHakQ0b38M mRdQ== 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 d5si1584602pgc.236.2018.04.10.02.45.23; Tue, 10 Apr 2018 02:46:01 -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 S1752283AbeDJJmT (ORCPT + 99 others); Tue, 10 Apr 2018 05:42:19 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:62432 "EHLO mx1.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751611AbeDJJmS (ORCPT ); Tue, 10 Apr 2018 05:42:18 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 4D21842B1B; Tue, 10 Apr 2018 11:42:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id kHNNEcZROs8S; Tue, 10 Apr 2018 11:41:38 +0200 (CEST) Date: Tue, 10 Apr 2018 11:41:36 +0200 From: Christian Brauner To: Michael Ellerman Cc: Christian Brauner , gregkh@linuxfoundation.org, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, ebiederm@xmission.com, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk Subject: Re: [PATCH 4/4 v5 RESEND] selftests: add devpts selftests Message-ID: <20180410094136.GA3438@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> <87bmerbe1f.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87bmerbe1f.fsf@concordia.ellerman.id.au> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2018 at 07:34:36PM +1000, Michael Ellerman wrote: > 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. Perfect, thanks! Christian