diff options
| author | tjg <tjg> | 2000-04-19 14:27:53 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:17 +0100 |
| commit | 216659afe8132442e85e5a012984c276eed0ebbf (patch) | |
| tree | 366dca22cba6fa6a924e729993ad68a7b465db78 /trip.rc | |
| parent | f5cf8df384be0b52cbf08015d77580d8f44a77d6 (diff) | |
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.
Diffstat (limited to 'trip.rc')
| -rw-r--r-- | trip.rc | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 |