smbtorture: correct error handling in BASE-OPEN.
authorJames Peach <jpeach@samba.org>
Mon, 6 Dec 2010 19:27:31 +0000 (11:27 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 11 Dec 2010 02:19:39 +0000 (03:19 +0100)
commit7ef1de3973ea694abb7e330dd538a0f3679365fb
tree2d8acc97bc765ad8a77db63fb77345818d8af99a
parentd2e9171f1d45f6c10a7f85df1f81c73c198ce3e0
smbtorture: correct error handling in BASE-OPEN.

There are a number of cases in BASE-OPEN where an initial failure cascades
into multiple failures due to lack of cleanup between test phases. Fix
all these so that they close open file handles correctly. Replace
torture_comment with torture_result where appropriate so that the results
output contains a useful diagnostic.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Dec 11 03:19:39 CET 2010 on sn-devel-104
source4/torture/basic/base.c