2 ./redir.tests: line 28: /tmp/redir-test: cannot overwrite existing file
6 ./redir.tests: line 44: $z: ambiguous redirect
27 ./redir4.sub: line 45: $fd: ambiguous redirect
28 ./redir4.sub: line 46: $fd: ambiguous redirect
47 ./redir.tests: line 170: redir1.*: No such file or directory
48 # This program is free software: you can redistribute it and/or modify
49 # it under the terms of the GNU General Public License as published by
50 # the Free Software Foundation, either version 3 of the License, or
51 # (at your option) any later version.
53 # This program is distributed in the hope that it will be useful,
54 # but WITHOUT ANY WARRANTY; without even the implied warranty of
55 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56 # GNU General Public License for more details.
58 # You should have received a copy of the GNU General Public License
59 # along with this program. If not, see <http://www.gnu.org/licenses/>.
61 # tests of ksh93-like dup-and-close redirection operators
79 # make sure it was closed
80 read -u 5 foo 2>&1 | grep -q 'invalid file descriptor'
87 read abcde 2>&1 | grep -q 'read error'
101 # This program is free software: you can redistribute it and/or modify
141 logfunc is a function
144 echo "$@" &>> $TMPDIR/log
153 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
157 ./redir11.sub: line 53: $(ss= declare -i ss): ambiguous redirect
162 ./redir11.sub: line 75: 42: No such file or directory