zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: traps test
@ 2005-04-13  9:41 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2005-04-13  9:41 UTC (permalink / raw)
  To: Zsh hackers list

This is a trivial fix to stop the test suite leaving a file TRAPEXIT in
the Test directory.

Index: Test/C03traps.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/C03traps.ztst,v
retrieving revision 1.5
diff -u -r1.5 C03traps.ztst
--- Test/C03traps.ztst	6 Feb 2005 20:36:45 -0000	1.5
+++ Test/C03traps.ztst	13 Apr 2005 09:40:25 -0000
@@ -59,8 +59,8 @@
 
 # $ZTST_exe is relative to the parent directory.
 # We ought to fix this in ztst.zsh...
-  cd ..
-  $ZTST_exe -fc 'TRAPEXIT() { print Exited.; }'
+  (cd ..
+  $ZTST_exe -fc 'TRAPEXIT() { print Exited.; }')
 0:EXIT traps on a script
 >Exited.
 

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-13  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-13  9:41 PATCH: traps test Peter Stephenson

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