blob: e37d5e45a874043ea785ea828ec7fa7e1aef6ea0 [file] [log] [blame]
Denys Vlasenko50b8b292017-07-06 20:57:37 +02001# redirects to closed descriptors should not leave these descriptors
2# open afterwards
3echo TEST 9>/dev/null
4echo MUST ERROR OUT >&9
5echo "Output to fd#9: $?"