redir3.tests 159 B

12345
  1. # redirects to closed descriptors should not leave these descriptors
  2. # open afterwards
  3. echo TEST 9>/dev/null
  4. echo MUST ERROR OUT >&9
  5. echo "Output to fd#9: $?"