File descriptor 99 is reserved for internal use

It should not, by convention, be used by any test cases; its opening here
will (presumably, at least) prevent the shell from automatically allocating
it for any file operations and subshells.
stderr
Mike Gerwitz 2014-05-12 21:38:15 -04:00
parent d90acab122
commit 0914d27000
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@
[ -z $__INC_EXPECT_CORE ] || return [ -z $__INC_EXPECT_CORE ] || return
__INC_EXPECT_CORE=1 __INC_EXPECT_CORE=1
# reserved for our uses
exec 99<>/dev/null
## ##
# Shorthand for bailing out on unrecognized clauses # Shorthand for bailing out on unrecognized clauses