From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#56025: 29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin Date: Sat, 18 Jun 2022 16:51:38 -0400 Message-ID: <8974408d-91cd-aebd-7a5b-596a57bd640e@cornell.edu> References: <8e21db9c-0100-998e-f280-81304e7ff61a@cornell.edu> <87mtecl82o.fsf@athena.silentflame.com> <40d9e52f-2041-b341-ff77-546ca7792791@cornell.edu> <87k09elrf8.fsf@athena.silentflame.com> <1de33903-4c55-e043-3754-726f7044f2d0@cornell.edu> <7e7daa2f-dbbc-cd0a-4958-2a2932b17837@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11254"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 To: Jim Porter , Sean Whitton , 56025@debbugs.gnu.org, Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 18 22:52:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2fQU-0002fr-Qb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jun 2022 22:52:15 +0200 Original-Received: from localhost ([::1]:33130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2fQT-0006qO-G1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jun 2022 16:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2fQH-0006qD-VR for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2022 16:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56365) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2fQH-00055n-JP for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2022 16:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2fQH-0003RW-IS for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2022 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jun 2022 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56025 X-GNU-PR-Package: emacs Original-Received: via spool by 56025-submit@debbugs.gnu.org id=B56025.165558551013215 (code B ref 56025); Sat, 18 Jun 2022 20:52:01 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 18 Jun 2022 20:51:50 +0000 Original-Received: from localhost ([127.0.0.1]:50262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2fQ5-0003R5-Po for submit@debbugs.gnu.org; Sat, 18 Jun 2022 16:51:50 -0400 Original-Received: from mail-bn8nam04on2132.outbound.protection.outlook.com ([40.107.100.132]:18272 helo=NAM04-BN8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2fQ3-0003Qs-CD for 56025@debbugs.gnu.org; Sat, 18 Jun 2022 16:51:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JKhCDGr8PLBtuaKouBLzHC/QbYcF9djNbfkg9HR+0T3A5IRNs4CS66W2m+QOC4QpWi0g1EQlLdkhAfMPE7VRtcXza1/mZJCIVUlm4/mXxGQGDvQmglxO3LR7GCNEAcZcO/MCMwlBMBafQ507leCP9zl3/He/iCbB64s1WeNVyOqy+fnhQLuimmUdSv/bWqJJwDEnHFsc9T8RjyY0Wl8B2gSLMKAaPvMUgtatmB4xEY0fcssJLFA2wv8BQMz1PH9gzY4U9W+j/HODWFl4uUkhoR3BdJsWlQ1GQDNXUmJMaJ/VWbfxAJiuu2B7ZL8cC12MSmRM93eu4VAyVWDWjLEOkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M53payy38ZxqYwPSosETddLzl1kVG/zlczWURNIGaTo=; b=ajmIOxFdfdQI8TChRwKbXyIViLJskzyCAZRCEWkMKeCY+G9qmcMk/+1QXsFY0ouixwiAFFM8g5SlgJYbcFfZMZV2qpplcgAlij1rEQ5j7TToK/OeAtn2S3RlRF310C9332g5c6BKgkcpvzPFPO7XZjQiV562ApEEpEcuwnFUZP5IE2r8JO0zdYR1FcCn7vSyKILHVZEmX6AD24AJbmKJOmPXJybUhn+Xm/AZP6wm/wmNJexKXl1OnjFZn/KH4cr3UIsu2ZzyyD5j80ykrT0wqNBKT3uXi70HYxCXt34dA4J6FIWk3pch7+XQI/7XQVWRpVuEgB/74hK6Iyj2Ir8l/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M53payy38ZxqYwPSosETddLzl1kVG/zlczWURNIGaTo=; b=Y5fdtStcDM93HY4y8HsJNBt5GA24xDM/myItDCSy9xNk4HuHhoLo+hcI6kR9CHk9NLqN4CBJfmglgpHpQfZKBRYokrcvZw7kJtXpbV5rOnA/5CZRKM1bbMREYY2n9RB6a3roI716CTVnUrMf2VhpZ1d0UliQPm6LEI4gq0S2FgU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cornell.edu; Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) by MN2PR04MB6877.namprd04.prod.outlook.com (2603:10b6:208:1ea::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16; Sat, 18 Jun 2022 20:51:40 +0000 Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::9db9:737b:d7ae:d913]) by BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::9db9:737b:d7ae:d913%5]) with mapi id 15.20.5353.019; Sat, 18 Jun 2022 20:51:40 +0000 Content-Language: en-US In-Reply-To: X-ClientProxiedBy: BL0PR0102CA0003.prod.exchangelabs.com (2603:10b6:207:18::16) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a02076d8-a5ca-449b-eb33-08da516c57b2 X-MS-TrafficTypeDiagnostic: MN2PR04MB6877:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3UUM033VI3Elv+F+5N5yJn80Gk2DV8LpSmRFifCUAMIHs73EmfpfhtPB60EKJd4pmEJh+dlMBqch3vK5cxhQ9ANWOaaqhhPxpo2wD5ICP5bEFf22++MsT92zcKNsD7Y3jm3raZRozVYHXoNeQ5Ra3PCtoBAWT+tzfNGNj6ZfHTn1A6oefGWt9qaUzgY9y+8SG4ANpBpLUa4BVDbfmjZOAnVATxaEruh1cxLp98OGNpOriHh+oQ0M5hcoFCrK74vyUKOW/uJFXOWHvKW9naHkZwKBrWP8ys7KCfZN1986q7pnUNfsvjEHvCuxms7DSS93eEYUUiKY6wzaCP54IB7NQ/8A7vrnSD4Wt4UPGHXeQB8VrACprtnxXC69cjqU5gMNliFFeeN07/Y4ipYMF9FWMsFBOjKx4pHhFpHin/V+iAVdgs6hNxThfegtonkb5I6KUjymEYn1wwuDTZ+WvcoKdtEMExPtkh9nTf7KST5D2nP3RTTJmR581EpoaLOdnXodALR2kw3c+188rKfMKX+ooU+1n32a/wUjGApevIQPm83ppxmnnJ1R4soIb7yUSc/TW1lO6ApsSw+4dPeWsOc7HvEfzPjU8CBGuOaaBarR6dT6XShGVQ68qlLbPQvqWFd93s8acLFbwayOOSwr3T448vKSnTkpzHjz5pQrnz+4+kIXlyq5HRLQc77GOl2fPNGNsCznByA33pXHn0bK/fRQWZPjsgTg7uxSpwuZCZ5ZTXs= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(5660300002)(498600001)(8936002)(6486002)(75432002)(83380400001)(186003)(2616005)(2906002)(53546011)(6512007)(86362001)(31696002)(6506007)(786003)(316002)(31686004)(66946007)(66556008)(66476007)(8676002)(36756003)(110136005)(38100700002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: DCE10LXFO81bdPH2RXjAyPedlMdbdHnE5spVxLPJnmjXW5bf4UQIj39E/9uBoVRnuH8IVaSj0BL5cF2Hy5TRCl4pI8ZiyfTDyOU4D5v6MQRhIEYLpw+ex3QCsloHkfsD9gETPyBlHGz6ZJ1MBtsmqs0z1AHuHNbcPT/6unf917kXbhfKuh3kHiCgBuX5c2T+hHqLb73LB/NfE9OHZvcY4ck3dmtJU5c6I4uyednmNDESGA6gnobhKnGLKQ00Jp77dmFWBrqQEObRs9eobxsN5iO0k8nuDa1hxFxGuZ3X2A3OQ52zbFYiGFgDvWJoK+Mw6bioTMj/3hKn4NZbu5733hwOBfgUvXYnNV4O2ImO21z2yepbm/QSviw/edbwCskbe8DQxp7uSYP140fjuVM5l8DPQ4bEFO6YdsQJDNFc1fZQu+LnI6qXaIbwNaJjULLABd7NfLq7+Pat1/2C15pxja+cp7MRJwtiw+tYoikDDhUdAvJ0HO3yvbsUNAFza957sFwEB2cAawl4gSRoEDy8laqdpnW7y2RqeX5EBlxPPfCUxWyrDPBbGjt5WVphYNIeGnksKzkB6zyq1pWrXGmCJZTJuwfUc2AYI/DkXhdGUYQEopTrnsh2A8+xbV/Ypl44lZ/UNSf8nxNja2vaZ7dMY+eUPQV6RsKO2rQE6QUlu1u4kIw/dtzgb5xh5OhpiFqWDtxdbLrf6Nr0yxtJCbemX+wVlypmL/OYGeQJtO/bBT3yMmb/jFA9VDk0hJ Vd43pH2W9LQ4F/IgY/wAgD/4gGn+M2zErdyNsya01EJMv0lxePLscsSYWyNA0godQ/JvMmdhna1oUnWnx5Eoz6cbVgNKpxF6v3 X-MS-Exchange-AntiSpam-MessageData-1: yHHstR/G+kncXQ== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: a02076d8-a5ca-449b-eb33-08da516c57b2 X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2022 20:51:39.7726 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: upYJEztB4r91C02aIq8RUBOzcZhiynDW3EdCMuorfpsDx3yeffbLayR+LvfWofoi7Y/LKyGEjF7+fM9ifVzGYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6877 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234764 Archived-At: On 6/18/2022 3:02 PM, Jim Porter wrote: > On 6/18/2022 10:52 AM, Ken Brown wrote: >> No, I'm seeing the same results on Emacs 28.  On both Emacs 28 and Emacs 29, >> rev is apparently not seeing EOF unless echo outputs a newline, so rev keeps >> waiting for input. > > Ah ha! Thanks for debugging this. The minimal fix then would be to change the > command in em-extpipe-test-2 to either of these: > >   echo -N "bar" | rev *>temp This doesn't work. It still hangs when run interactively, as does the equivalent echo -N bar | sh -c "rev >temp" >   *echo "bar" | rev *>temp This works interactively, but I don't know the appropriate syntax for modifying the test. Naively replacing each 'echo' by '*echo' caused the 'should-parse' to fail. > One last[1] question: if you ran "echo -n bar | rev" in Cygwin Bash, does it > hang there too? No. > Maybe this is just a Cygwin limitation, or maybe Eshell is doing > something wrong with its built-in pipelines in this situation. My guess is that it's the latter, but I don't know if it's worth pursuing this if Cygwin and EMBA are the only platforms on which there's a problem. Of course, there might be other platforms and no one has reported it. Once the test is fixed to succeed on Cygwin, we should probably revert the change that caused the extpipe tests to be skipped on EMBA, just to make sure that the same fix works there. Ken