From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13663 invoked from network); 15 Dec 1999 10:10:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Dec 1999 10:10:50 -0000 Received: (qmail 26139 invoked by alias); 15 Dec 1999 10:10:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9054 Received: (qmail 26132 invoked from network); 15 Dec 1999 10:10:42 -0000 To: zsh workers mailing list Subject: Re: 50cd.ztst fails if run from unresolved path References: MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 15 Dec 1999 19:10:38 +0900 In-Reply-To: Peter Stephenson's message of "Tue, 14 Dec 1999 23:44:44 +0000" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article , Peter Stephenson writes: > Tanaka Akira reported this. Unsetting PWD seemed to fix it. I haven't had > a patch yet, however, and I'm too lazy to install enough symlinks to try it > out myself. I think unsetting PWD is not good way to fix the problem because it must be described outside of 50cd.ztst. I dislike introducing individual test specific stuff to Makefile.in. So, I tried to initialize PWD in 50cd.ztst. However, I think unsetting *all* environment variables is another way. Index: Test/50cd.ztst =================================================================== RCS file: /projects/zsh/zsh/Test/50cd.ztst,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 50cd.ztst --- Test/50cd.ztst 1999/12/13 19:06:59 1.1.1.1 +++ Test/50cd.ztst 1999/12/15 09:59:10 @@ -38,6 +38,9 @@ ln -s ../real cdtst.tmp/sub/fake + setopt chaselinks + cd . + unsetopt chaselinks mydir=$PWD %test -- Tanaka Akira