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.
Mike Gerwitz 2014-05-12 21:38:15 -04:00
parent e3ab1e400e
commit 8389a1f539
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 3 additions and 0 deletions

View File

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