zsh-workers
 help / color / mirror / code / Atom feed
* E01options.ztst : CDABLE_VARS option
@ 2002-03-12  6:21 Felix Rosencrantz
  2002-03-13 10:00 ` PATCH: " Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Rosencrantz @ 2002-03-12  6:21 UTC (permalink / raw)
  To: zsh-workers

I'm seeing the following failure with the E01options.ztst.

-FR.

./E01options.ztst: starting.
*** /tmp/zsh.ztst.out.17254	Wed Mar  6 19:13:54 2002
--- /tmp/zsh.ztst.tout.17254	Wed Mar  6 19:13:54 2002
***************
*** 1,2 ****
- ~/zsh/Test/options.tmp/tmpcd
  back in options.tmp
--- 1 ----
Test ./E01options.ztst failed: output differs from expected as shown above for:
  setopt cdablevars
  # only absolute paths are eligible for ~-expansion
  cdablevar1=tmpcd
  (cd cdablevar1)
  cdablevar2=$PWD/tmpcd
  cd cdablevar2
  cd ..
  print back in ${PWD:t}
  unsetopt cdablevars
  cd cdablevar2
Error output:
(eval):cd:4: no such file or directory: cdablevar1
(eval):cd:10: no such file or directory: cdablevar2
Was testing: CDABLE_VARS option
./E01options.ztst: test failed.




__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* PATCH: Re: E01options.ztst : CDABLE_VARS option
  2002-03-12  6:21 E01options.ztst : CDABLE_VARS option Felix Rosencrantz
@ 2002-03-13 10:00 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2002-03-13 10:00 UTC (permalink / raw)
  To: zsh-workers

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   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-13 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-12  6:21 E01options.ztst : CDABLE_VARS option Felix Rosencrantz
2002-03-13 10:00 ` PATCH: " Bart Schaefer

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).