Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 3.1.6-pws-10: Initial testing stuff



In `make check', SunOS 5.7 refuses to remove current working directory.

Z(2):akr@is27e1u11% LANG=C make check 
cd Test ; gmake check
gmake[1]: Entering directory `/space/akr/zsh/zsh-main-trunc/Test'
for f in *.ztst; do \
  ../Src/zsh ztst.zsh $f; \
done
cd.ztst: all tests successful.
rm: Cannot remove any directory in the path of the current working directory
/space/akr/zsh/zsh-main-trunc/Test/cdtst.tmp/real
gmake[1]: Leaving directory `/space/akr/zsh/zsh-main-trunc/Test'
Z(2):akr@is27e1u11% 

Index: Test/ztst.zsh
===================================================================
RCS file: /projects/zsh/zsh/Test/ztst.zsh,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ztst.zsh
--- Test/ztst.zsh	1999/12/07 22:42:20	1.1.1.1
+++ Test/ztst.zsh	1999/12/09 07:38:59
@@ -52,6 +52,7 @@
 ZTST_terr=${TMPPREFIX-:/tmp/zsh}.ztst.terr.$$
 
 ZTST_cleanup() {
+  cd $ZTST_testdir
   rm -rf $ZTST_testdir/dummy.tmp $ZTST_testdir/*.tmp \
          $ZTST_in $ZTST_out $ZTST_err $ZTST_tout $ZTST_terr
 }

In article <E11voZC-0001fu-00.1999-12-08-21-24-08@xxxxxxxxxxxxxxxxxxx>,
  Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx> writes:

> After checking it in locally, I realised I didn't know a way of diffing
> that against the version before the check in.  Is it necessary to supply a
> tag every time you commit?

I think there is no easy and perfect way to do it.  But `-D' option
may help you as "cvs diff -D'5 minute ago'".  Always I produce diff
before commit or import, if it is needed, though.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author