From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: make check when PWD is set.
Date: 13 Dec 1999 00:02:18 +0900 [thread overview]
Message-ID: <rsqln709p8l.fsf@crane.jaist.ac.jp> (raw)
`make check' fails if PWD has already symlink AND /bin/sh is bash.
Since bash called by make updates PWD to point Test directory, zsh
accept it.
On the environment which /bin/sh does not update PWD such as Solaris 7,
this problem is not raised. Of course, it can be raised by invoking
ztst.zsh directly.
Apart from the problem, I think `../Src/zsh ztst.zsh' should be
`../Src/zsh -f ztst.zsh'.
Z:akr@thorax% pwd
/home/akr/z
Z:akr@thorax% =pwd
/home/akr/src/zsh/cvs/zsh
Z:akr@thorax% ls -l /home/akr/z
lrwxrwxrwx 1 akr akr 15 Sep 12 12:12 /home/akr/z -> src/zsh/cvs/zsh
Z:akr@thorax% echo ${(t)PWD}
scalar-export
Z:akr@thorax% make check
cd Test ; make check
make[1]: Entering directory `/home/akr/src/zsh/cvs/zsh/Test'
for f in *.ztst; do \
../Src/zsh ztst.zsh $f; \
done
*** /tmp/zsh.ztst.out.17118 Sun Dec 12 23:35:16 1999
--- /tmp/zsh.ztst.tout.17118 Sun Dec 12 23:35:16 1999
***************
*** 1,2 ****
! /home/akr/z/Test/cdtst.tmp/real
! /home/akr/z/Test/cdtst.tmp/real
--- 1,2 ----
! /home/akr/src/zsh/cvs/zsh/Test/cdtst.tmp/real
! /home/akr/src/zsh/cvs/zsh/Test/cdtst.tmp/real
Test cd.ztst failed: output differs from expected as shown above for:
setopt chaselinks
cd cdtst.tmp/sub/fake &&
pwd &&
print $PWD
Was testing: Resolving symbolic links with chaselinks set
make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/akr/src/zsh/cvs/zsh/Test'
make: *** [check] Error 2
zsh: exit 2 make check
Z:akr@thorax%
(unset PWD; make check) works well as:
Z:akr@thorax% (unset PWD; make check)
cd Test ; make check
make[1]: Entering directory `/home/akr/src/zsh/cvs/zsh/Test'
for f in *.ztst; do \
../Src/zsh ztst.zsh $f; \
done
cd.ztst: all tests successful.
make[1]: Leaving directory `/home/akr/src/zsh/cvs/zsh/Test'
Z:akr@thorax%
--
Tanaka Akira
reply other threads:[~1999-12-12 15:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=rsqln709p8l.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).