From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 651321F619 for ; Wed, 26 Feb 2020 20:21:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727301AbgBZUU7 (ORCPT ); Wed, 26 Feb 2020 15:20:59 -0500 Received: from mail-il1-f193.google.com ([209.85.166.193]:43554 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727240AbgBZUU7 (ORCPT ); Wed, 26 Feb 2020 15:20:59 -0500 Received: by mail-il1-f193.google.com with SMTP id p78so271855ilb.10 for ; Wed, 26 Feb 2020 12:20:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6tt2pePyJr4D81HmyODPLFRSLXQJwsTS6C3vwgUvK6U=; b=Fw5sklS57Hch8rVBQdyi8Q/4ZOBsTqBdOllkrSk5Dtf1NPOrHHt3dfJ/dvUXllxkNF ntNO1za4EHKKrxHcCv90Kpx+68+LBoZVoHrKi3xbPcYWbFNl2Y4CKZROASwH/r8EJ9Xl ptjeTLK1SGpJIkRaZ8tivr/1m4AoSNFTvePSaVqV1xSmm7nvA83U+BcLleqHFK1X1lsr A93amb7wuVJixajmbUnPBKoghMG5LUPaqFSquiz0Njj8RzwUJN/B3PuA4JBgG+RqQdPh 5nyAAbu9dTHjDrxYEwPYfUCniCo6zTO76/fpervImlXNy8w6BzJB7+EoyK0Rng0EnUH+ cLJg== X-Gm-Message-State: APjAAAX9BlGUH1rFXgf97GaBgcwMfZaRJA9f0kHBfEk9W7ntCCmPeZBX nSljo8zLXKNSCmfd8wzLD0kJ7HRpeZn/y8EUFpIben8w X-Google-Smtp-Source: APXvYqwukIKjL5lALpuukMs5KZYXdHxfqooOfkhINPJ8R1H9NkdymDmEOM9Z1Tt13Nd4Wgnvf8oruo+GIWOYNyzkNXA= X-Received: by 2002:a92:4448:: with SMTP id a8mr480951ilm.256.1582748456821; Wed, 26 Feb 2020 12:20:56 -0800 (PST) MIME-Version: 1.0 References: <9900cacbfefb46610114702e6d48d8020f3f2866.1582747775.git.gitgitgadget@gmail.com> In-Reply-To: <9900cacbfefb46610114702e6d48d8020f3f2866.1582747775.git.gitgitgadget@gmail.com> From: Ed Maste Date: Wed, 26 Feb 2020 15:20:44 -0500 Message-ID: Subject: Re: [PATCH 1/3] t/lib-httpd: avoid using BSD's sed To: Johannes Schindelin via GitGitGadget Cc: git mailing list , Johannes Schindelin Content-Type: text/plain; charset="UTF-8" Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Wed, 26 Feb 2020 at 15:09, Johannes Schindelin via GitGitGadget wrote: > > From: Johannes Schindelin > > Among other differences relative to GNU sed, BSD sed always ends its > output with a trailing newline, even if the input did not have such a > trailing newline. > > Surprisingly, this makes three httpd-based tests fail on macOS: t5616, > t5702 and t5703. ("Surprisingly" because those tests have been around > for some time, but apparently nobody runs them on macOS with a working > Apache2 setup.) Hmm, this is interesting - all tests (that are executed) are passing on FreeBSD, in CI. I tried on FreeBSD and do not see a trailing newline added; I'm not sure how sed behaves on other BSDs. However, you probably want to refer to macOS sed rather than BSD sed in the commit.