about summary refs log tree commit diff
path: root/Test/C03traps.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-05-29 14:50:28 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-05-29 14:50:28 +0000
commit52e5a75a7a8a4a16579e708a006f6346ce765aeb (patch)
treee4e6e92d27c96845720c36114e842cfbc92eef92 /Test/C03traps.ztst
parent29b7123647bc3b70911bbb2caf85238d22d160c8 (diff)
downloadzsh-52e5a75a7a8a4a16579e708a006f6346ce765aeb.tar.gz
zsh-52e5a75a7a8a4a16579e708a006f6346ce765aeb.tar.xz
zsh-52e5a75a7a8a4a16579e708a006f6346ce765aeb.zip
23486: use {fd} syntax to get fd's for tests
Diffstat (limited to 'Test/C03traps.ztst')
-rw-r--r--Test/C03traps.ztst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst
index 252ccc4cb..a39e1a7d4 100644
--- a/Test/C03traps.ztst
+++ b/Test/C03traps.ztst
@@ -122,7 +122,7 @@
 # least the full two seconds to make sure we have got the output from the
 # execution of the trap.
 
-  print 'This test takes at least three seconds...' >&8
+  print -u $ZTST_fd 'This test takes at least three seconds...'
   fn1() {
     trap 'print TERM1' TERM
     fn2() { trap 'print TERM2; return 1' TERM; sleep 2; }
@@ -135,7 +135,7 @@
 0: Nested `trap ... TERM', triggered on inner loop
 >TERM2
 
-  print 'This test, too, takes at least three seconds...' >&8
+  print -u $ZTST_fd 'This test, too, takes at least three seconds...'
   fn1() {
     trap 'print TERM1; return 1' TERM
     fn2() { trap 'print TERM2; return 1' TERM; }
@@ -253,7 +253,7 @@
 >Exiting, attempt 2
 >Running exit trap
 
-  print Another test that takes three seconds >&8
+  print -u $ZTST_fd Another test that takes three seconds
   gotsig=0
   signal_handler() {
    echo "parent received signal"