From cb8ddf171e9568f36bf0e2315282b638ab119ca5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 10 May 2010 12:31:49 +0000 Subject: c.f. 27950: strip bogus whitespace from tests --- Test/C03traps.ztst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Test/C03traps.ztst') diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst index 853ae1aa0..1c4006cc4 100644 --- a/Test/C03traps.ztst +++ b/Test/C03traps.ztst @@ -352,11 +352,11 @@ { trap 'echo This subshell is exiting' EXIT; } | cat 0: EXIT trap set in current shell at left of pipeline ->This subshell is exiting +>This subshell is exiting ( trap 'echo This subshell is also exiting' EXIT; ) | cat 0: EXIT trap set in subshell at left of pipeline ->This subshell is also exiting +>This subshell is also exiting ( trap 'echo Should only appear once at the end' EXIT ( : trap reset here ) | cat @@ -365,11 +365,11 @@ ) 0: EXIT trap set in subshell reset in subsubshell >nothing after this should appear ->Should only appear once at the end +>Should only appear once at the end echo $( trap 'echo command substitution exited' EXIT ) 0: EXIT trap set in command substitution ->command substitution exited +>command substitution exited %clean -- cgit 1.4.1