From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4605 invoked from network); 12 Dec 1999 15:02:36 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Dec 1999 15:02:36 -0000 Received: (qmail 11691 invoked by alias); 12 Dec 1999 15:02:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9004 Received: (qmail 11683 invoked from network); 12 Dec 1999 15:02:21 -0000 To: zsh-workers@sunsite.auc.dk Subject: make check when PWD is set. 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: 13 Dec 1999 00:02:18 +0900 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) `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