From 216659afe8132442e85e5a012984c276eed0ebbf Mon Sep 17 00:00:00 2001 From: tjg Date: Wed, 19 Apr 2000 14:27:53 +0000 Subject: 2000-04-19 Bug: isatty() tests in input.c are relevant to any fd, not just 0. Now `. -i /dev/tty' works right. Bug: fn sigexit wasn't always cleared in child shells. Bug: `~ () '*'' dumped core. --- trip.rc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'trip.rc') diff --git a/trip.rc b/trip.rc index a381db4..163ec3b 100644 --- a/trip.rc +++ b/trip.rc @@ -318,7 +318,7 @@ submatch 'cdpath='''' cd frobnatz' 'couldn''t cd to frobnatz' 'cd to frobnatz su submatch 'wait 1 2 3' 'too many arguments to wait' 'arg count' $rc -c 'wait 1' >[2]/dev/null && fail wait 1 -sleep 5& +sleep 3& expect $apid echo $apids wait @@ -569,3 +569,15 @@ eof # Believe it or not, I broke root directory globbing in rc-1.6b1. x=/* ~ '/*' $^x && fail root directory globbing + +# fn sigexit should be cleared in children + +x = () +expect nonesuch not found +x = `{true | nonesuch}; if (~ $x trip) fail sigexit in children +x = `{ < /dev/null wc |grep xxx }; if (~ $x trip) fail sigexit in children +x = `{{ wc | wc } < /dev/null }; if (~ $x trip) fail sigexit in children + +# core dumps in glob.c +~ () '*' && fail globber problem +~ () '**' && fail globber problem -- cgit v1.2.3