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

PATCH: Re: E01options.ztst : CDABLE_VARS option



On Mar 11, 10:21pm, Felix Rosencrantz wrote:
}
} I'm seeing the following failure with the E01options.ztst.

This is because `cd' was changed to never print the destination directory
when the shell from which it is invoked is not interactive.

The test script needs to be updated.  Some of the pushd tests have the same
problem.

Index: Test/E01options.ztst
===================================================================
diff -c -r1.6 E01options.ztst
--- Test/E01options.ztst	2001/09/05 15:22:35	1.6
+++ Test/E01options.ztst	2002/03/12 18:29:06
@@ -193,7 +193,6 @@
   unsetopt cdablevars
   cd cdablevar2
 1q:CDABLE_VARS option
->`print -P '%~'`/tmpcd
 >back in options.tmp
 ?(eval):cd:4: no such file or directory: cdablevar1
 ?(eval):cd:10: no such file or directory: cdablevar2
@@ -769,9 +768,7 @@
   cd $mydir  
 0q:PUSHD_MINUS option
 >$mydirt/newcd $mydirt/tmpcd $mydirt
->$mydirt
 >$mydirt $mydirt/newcd $mydirt/tmpcd
->$mydirt
 >$mydirt $mydirt/newcd $mydirt/tmpcd
 
 # Do you have any idea how dull this is?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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