1 # Solaris says 'Bad file number' instead of 'Bad file descriptor' on Linux.
2 # Make sure the test finds what it expects
4 # Not suitable for upstream
6 --- tests/redir.right 2016-11-28 04:38:00.494117081 -0800
7 +++ tests/redir.right 2016-11-28 04:36:49.995612525 -0800
11 # make sure it was closed
12 -read -u 5 foo 2>&1 | grep -q 'invalid file descriptor'
13 +read -u 5 foo 2>&1 | grep -q 'invalid file number'
17 --- tests/redir5.sub 2018-10-08 17:56:14.000000000 +0000
18 +++ tests/redir5.sub 2019-02-02 13:09:26.849690646 +0000
22 # make sure it was closed
23 -read -u 5 foo 2>&1 | grep -q 'invalid file descriptor'
24 +read -u 5 foo 2>&1 | grep -q 'invalid file number'