From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 80401b5c for ; Sun, 8 Mar 2020 15:28:51 +0000 (UTC) Received: (qmail 1198 invoked by alias); 8 Mar 2020 15:28:44 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45518 Received: (qmail 20942 invoked by uid 1010); 8 Mar 2020 15:28:44 -0000 X-Qmail-Scanner-Diagnostics: from out2-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25738. spamassassin: 3.4.2. Clear:RC:0(66.111.4.26):SA:0(-2.6/5.0):. Processed in 4.225288 secs); 08 Mar 2020 15:28:44 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudduiedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujggfsehttd dttddtredvnecuhfhrohhmpeffrghnihgvlhcuufhhrghhrghfuceougdrshesuggrnhhi vghlrdhshhgrhhgrfhdrnhgrmhgvqeenucfkphepjeelrddujeeirdehledrudehvdenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvg X-ME-Proxy: Date: Sun, 8 Mar 2020 15:27:59 +0000 From: Daniel Shahaf To: Vin Shelton Cc: Zsh Hackers' List Subject: Re: Test Failure. 2020-03-08 Message-ID: <20200308152759.GA19385@tarpaulin.shahaf.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Vin Shelton wrote on Sun, Mar 08, 2020 at 08:38:53 -0400: > Using the latest sources, I'm getting the following test error in the > modload test: > > --- /tmp/zsh.ztst.7939/ztst.err 2020-03-08 08:33:41.076674463 -0400 > +++ /tmp/zsh.ztst.7939/ztst.terr 2020-03-08 08:33:41.080007796 -0400 > @@ -0,0 +1 @@ > +zsh:2: failed to load module `zsh/parameter': > /opt/zsh-2020-03-08/lib/zsh/5.8.0.1-dev/zsh/parameter.so: cannot open shared object file: No such file or directory > Test ../../../src/zsh-2020-03-08/Test/V01zmodload.ztst failed: error output differs from expected as shown above for: > $ZTST_testdir/../Src/zsh -fc ' > zmodload zsh/parameter > unset options > echo $+options > ' > Was testing: can unset a non-readonly autoloadable parameter after loading > the module > ../../../src/zsh-2020-03-08/Test/V01zmodload.ztst: test failed. > > Please let me know if you need more info. Could you try the following, please? diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index c3c64a79d..4fddb0bcc 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -349,6 +349,7 @@ ?(eval):9: file descriptor out of range $ZTST_testdir/../Src/zsh -fc ' + MODULE_PATH=${(q)MODULE_PATH} if zmodload -e zsh/parameter; then zmodload -u zsh/parameter; fi unset options zmodload zsh/parameter @@ -359,6 +360,7 @@ # Currently prints '1'. $ZTST_testdir/../Src/zsh -fc ' + MODULE_PATH=${(q)MODULE_PATH} zmodload zsh/parameter unset options echo $+options @@ -367,6 +369,7 @@ >0 $ZTST_testdir/../Src/zsh -fc ' + MODULE_PATH=${(q)MODULE_PATH} if zmodload -e zsh/parameter; then zmodload -u zsh/parameter; fi unset builtins ' @@ -375,13 +378,15 @@ # Currently, the 'unset' succeeds. $ZTST_testdir/../Src/zsh -fc ' + MODULE_PATH=${(q)MODULE_PATH} zmodload zsh/parameter unset builtins ' 1:can't unset a readonly autoloadable parameter after loading the module -?zsh:3: read-only variable: builtins +*?zsh:?: read-only variable: builtins $ZTST_testdir/../Src/zsh -fc ' + MODULE_PATH=${(q)MODULE_PATH} zmodload zsh/parameter zmodload -u zsh/parameter echo $options Cheers, Daniel