test-dup2: fix bad assumption
authorEric Blake <ebb9@byu.net>
Thu, 13 Aug 2009 18:11:47 +0000 (12:11 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 13 Aug 2009 19:02:22 +0000 (13:02 -0600)
commitbb218f8d923ea9bac42c37bb7cf190b4dbd695f1
tree0e3b8133823adbc9f6d7b3d59be75b1192e975e3
parent21511ede5e25827bf70817a1391dc049a3ce36e2
test-dup2: fix bad assumption

* tests/test-dup2.c (main): Tolerate leaked fds from environment.
Reported by Peter Breitenlohner <peb@mppmu.mpg.de>.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/test-dup2.c