Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2051004imj; Fri, 8 Feb 2019 11:42:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IbPZSC59FVPZ9yqKgDQCGRZ0jNHej9EUSzsTBi2iLjEUxg7xuPlBmC56ETDe7hybgWeclCN X-Received: by 2002:aa7:84d3:: with SMTP id x19mr23787988pfn.220.1549654935134; Fri, 08 Feb 2019 11:42:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549654935; cv=none; d=google.com; s=arc-20160816; b=X+kDgimiK6NJnKvMGrAg3sq0aj0EqBvO+aXhwtfAttAzlBkyyDfzK1gJiwf/TbgkHe p859TX/EHFNBFn/vKZ2ZkN2wknvbnryKvXfwWnhLLxvNsnBPwk9uGjpgyCZesqcww0Gp p2SoCBgTu1jgd9ZKXU+dUHB1sHt4n0Pg3WVRVNT6ukre4sLXzG5sm5+fH0WK35Yq2EnT qmei+wVcfL3pRakYer3hLB41eBMO2deAOZ90DlupS9o+OPD5G5md5iQMhwxppOJhXVRB E+rBKOLDn5+WbmvKIUGgyhYQ7S5gphm+y3q1BzPcaJL3ecZ7iTqz0pHjAXFF79PmylbP qfhA== 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; bh=WRQp0eMAPaXxKuuPRjKyLfcf06Sy2J1MBcEfP/SSVic=; b=CnLJ2+3m7wlsURHfDTSKxbG7uTH76XgjIqsV3Urbnsj+YKQf8H7T7yeyRd23ZPb8TS gUVMKCJE8+BeVg20mdGY/XqKUpOwhjzKDddG+QdXG4Ox4Qb+fvAWb9jHfAJhOlxTU8EK MpqoDbHTbrDz4Nd/vfCWcFUBtxSkPPcnTjr7fJZTbffXh15oUb+lwZPMXke2UOwvY/9E FO154VPN5EnFJpmbl2WhjwBKl/k1x9toa5ojiue8S7+sqQO2/O+QVqz8PbYWtHv0Fd8g Q7NL6cR8pCQyJZYQHiQSS3QoCX3gpXf9BXzYMjGdl5AMBi0fjevEU6KKnF7rLZelGhZC 8tQg== 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 l123si3004630pfc.187.2019.02.08.11.41.44; Fri, 08 Feb 2019 11:42:15 -0800 (PST) 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 S1727297AbfBHTPW (ORCPT + 99 others); Fri, 8 Feb 2019 14:15:22 -0500 Received: from cloud.peff.net ([104.130.231.41]:37942 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726994AbfBHTPW (ORCPT ); Fri, 8 Feb 2019 14:15:22 -0500 Received: (qmail 14258 invoked by uid 109); 8 Feb 2019 19:15:21 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Fri, 08 Feb 2019 19:15:21 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 26619 invoked by uid 111); 8 Feb 2019 19:15:30 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.94) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) SMTP; Fri, 08 Feb 2019 14:15:30 -0500 Authentication-Results: peff.net; auth=none Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Fri, 08 Feb 2019 14:15:19 -0500 Date: Fri, 8 Feb 2019 14:15:19 -0500 From: Jeff King To: "Randall S. Becker" Cc: 'Junio C Hamano' , git@vger.kernel.org, 'Linux Kernel' , git-packagers@googlegroups.com Subject: Re: [Breakage] Git v2.21.0-rc0 - t5318 (NonStop) Message-ID: <20190208191519.GF27673@sigill.intra.peff.net> References: <000f01d4bf9e$a508eab0$ef1ac010$@nexbridge.com> <20190208165052.GC23461@sigill.intra.peff.net> <001101d4bfd6$b9430230$2bc90690$@nexbridge.com> <20190208180321.GB27673@sigill.intra.peff.net> <002501d4bfde$b26e6050$174b20f0$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <002501d4bfde$b26e6050$174b20f0$@nexbridge.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 08, 2019 at 01:47:04PM -0500, Randall S. Becker wrote: > > Though I suspect we may be able to just find a solution that works > > everywhere, without having two different implementations. If we know we > > need $count bytes for dd, we could probably just generate a file with that > > many NULs in it. > > For this, we could use truncate -s count file instead of dd to get a > fixed size file of nulls. This would remove the need for /dev/zero in > t5318 (the patch below probably will wrap badly in my mailer so I can > submit a real patch separately. I don't think "truncate" is portable, though. > > Other cases don't seem to actually care that they're getting NULs, and are > > just redirecting stdin from /dev/zero to get an infinite amount of input. They > > could probably use "yes" for that. > > What about reading from /dev/null? That would yield zero bytes, not an infinite number of them. -Peff