From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 333 invoked from network); 12 May 2009 20:22:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 May 2009 20:22:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 19100 invoked from network); 12 May 2009 20:22:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 May 2009 20:22:53 -0000 Received: (qmail 29642 invoked by alias); 12 May 2009 20:22:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26959 Received: (qmail 29631 invoked from network); 12 May 2009 20:22:46 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 May 2009 20:22:46 -0000 Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 9AD018028C72 for ; Tue, 12 May 2009 22:22:40 +0200 (CEST) Received: from sdf.lonestar.org (IDENT:pda@svalbard.freeshell.org [192.94.73.10]) by sdf.lonestar.org (8.14.3/8.13.8) with ESMTP id n4CKMWuT008521 for ; Tue, 12 May 2009 20:22:32 GMT Received: (from pda@localhost) by sdf.lonestar.org (8.14.3/8.12.8/Submit) id n4CKMWXl024035 for zsh-workers@sunsite.dk; Tue, 12 May 2009 20:22:32 GMT From: Paul Ackersviller Date: Tue, 12 May 2009 20:22:32 +0000 To: zsh-workers@sunsite.dk Subject: Re: Modules on HP-UX, with small PATCH Message-ID: <20090512202232.GD13920@svalbard> Mail-Followup-To: zsh-workers@sunsite.dk References: <20090501145253.GA5070@svalbard> <200905011518.n41FIlHi005089@news01.csr.com> <20090505193931.GA2944@svalbard> <20090506202206.63bc26b0@pws-pc> <20090506215026.GA5565@otaku> <20090507163819.1932f06e@news01> <20090507170219.46d636e0@news01> <20090507220819.GA13920@svalbard> <090507163027.ZM15925@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <090507163027.ZM15925@torch.brasslantern.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV 0.92.1/9355/Tue May 12 19:42:46 2009 on bifrost X-Virus-Status: Clean On Thu, May 07, 2009 at 04:30:27PM -0700, Bart Schaefer wrote: > On May 7, 10:08pm, Paul Ackersviller wrote: > } Subject: Re: D07multibyte.ztst failure on HP-UX 11.11 > } > } BTW, there's one other thing with HP-UX tests I've been ignoring until > } now, but would like to look at shortly. They end with: > } rm: cannot remove `Modules/zsh/parameter.so': Text file busy > } rm: cannot remove `Modules/zsh/zutil.so': Text file busy > } rm: cannot remove `Modules/zsh/complete.so': Text file busy > } rm: cannot remove `Modules/zsh/complist.so': Text file busy > } rm: cannot remove `Modules/zsh/computil.so': Text file busy > } rm: cannot remove `Modules/zsh/zle.so': Text file busy > > The test script creates a shadow directory with copies of all the > shared objects so that it has a stable module_path for zmodload. > HP-UX does paging for shared objects directly out of their files, > so those files can't be removed while loaded by an application. Peter's subsequent change didn't get rid of this, but I noticed I'm able to remove the files as soon as the makefile finishes. I suspect timing, and the following less-than-optimal tweak seems to fix it. Index: Test/Makefile.in =================================================================== RCS file: /cvsroot/zsh/zsh/Test/Makefile.in,v retrieving revision 1.12 diff -u -r1.12 Makefile.in --- Test/Makefile.in 17 Oct 2008 08:31:22 -0000 1.12 +++ Test/Makefile.in 12 May 2009 20:20:31 -0000 @@ -54,6 +54,7 @@ else \ stat=1; \ fi; \ + sleep 1; \ rm -rf Modules .zcompdump; \ exit $$stat