From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: Re: 50cd.ztst fails if run from unresolved path
Date: 15 Dec 1999 19:10:38 +0900 [thread overview]
Message-ID: <rsqpuw84iqp.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Peter Stephenson's message of "Tue, 14 Dec 1999 23:44:44 +0000"
In article <E11y1bc-00003y-00.1999-12-14-23-43-45@mail6.svr.pol.co.uk>,
Peter Stephenson <pws@pwstephenson.fsnet.co.uk> 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
prev parent reply other threads:[~1999-12-15 10:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-14 1:44 Adam Spiers
1999-12-14 23:44 ` Peter Stephenson
1999-12-15 10:10 ` Tanaka Akira [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsqpuw84iqp.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).