smbtorture: Close unused pipe fds in kernel_oplocks8
authorChristof Schmitt <cs@samba.org>
Wed, 14 Nov 2018 22:13:03 +0000 (15:13 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 16 Nov 2018 20:52:13 +0000 (21:52 +0100)
commitbe46a42774590f68f8560d82f8425a43fecda98b
tree7db287cbea416ea90b38b9fc7d2fe75c20e23ff0
parent579ce3eb4e5b14159cfe20d00f0ba7e4801f2944
smbtorture: Close unused pipe fds in kernel_oplocks8

This fixes a hang of the testcase when hitting an error in the child (e.g.
localdir does not exist)

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Nov 16 21:52:13 CET 2018 on sn-devel-144
source4/torture/smb2/oplock.c