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

PATCH: 04redirect.ztst closes 3.



On NFS, unlinking opened file creates .nfsXXXX in same directory.  So
rm -rf may not be able to remove a directory.

Z:akr@is27e1u11% make check
...
../../zsh-3.1.6-dev-14/Test/04redirect.ztst: all tests successful.
rm: Unable to remove directory /home/fs114/akr/zsh/z/sunos5/Test/redir.tmp: File exists
...

Index: Test/04redirect.ztst
===================================================================
RCS file: /projects/zsh/zsh/Test/04redirect.ztst,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 04redirect.ztst
--- Test/04redirect.ztst	1999/12/21 23:12:01	1.1.1.1
+++ Test/04redirect.ztst	2000/01/05 23:45:18
@@ -64,6 +64,7 @@
 >hello
 >goodbye
 
+  exec 3<&-
   read foo <&-
 1:'<&-' redirection
 
-- 
Tanaka Akira



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