From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 3FBAA1F44D for ; Tue, 7 May 2024 07:42:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1715067740; bh=FR87ykqQNSuEROYUSVAafiNPvueWh9KKXVbqjxqXdhA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=m0t4aMVx8DGmY41axHFYrd81OXs4PiT0XSWiVlmCPoo4IuU+HUxB35BUH5i4D6VOw jORT6iGTx2AfXt5ibkodorRQyUaCDGJovxu8zL41qD5xNPYBep4G0UaECdt+QBgRFX 86GiFKy5ELXSBTmCL7oYi5i15VHm83ZhgAOuJTGM= Date: Tue, 7 May 2024 07:42:20 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: [PATCH] t/imap_searchqp: hopefully fix test reliability Message-ID: <20240507074220.M159002@dcvr> References: <20240428200801.42738-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240428200801.42738-1-e@80x24.org> List-Id: Eric Wong wrote: > Localizing assignments to *STDERR doesn't seem to always work > with scalar (String) IO objects. Fortunately, doing actual dup2 > redirects always seems reliable, so do that instead of > attempting to understand why PerlIO sometimes fails with the > assignment. *sigh* Nope... I just got another failure even with this commit. I suspect it's down to Parse::RecDescent using the less common: print {*STDERR} ... Instead of the more common: print STDERR ...