summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-12 14:21:50 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-12 14:23:30 +0100
commit2801b6a522c772cb4d53a7ab0349607ad20d3e64 (patch)
tree5c9684c6dce058a7296e03a695b8239f5a7cfe57 /source4/torture/raw
parent6e9d25157d896763ea16520ba9cc44099b62ce72 (diff)
downloadsamba-2801b6a522c772cb4d53a7ab0349607ad20d3e64.tar.gz
samba-2801b6a522c772cb4d53a7ab0349607ad20d3e64.tar.bz2
samba-2801b6a522c772cb4d53a7ab0349607ad20d3e64.zip
RAW-STREAMS: do a exit on the session after each sub tests
metze (This used to be commit 3f7fef8b8c567379649611637d69c89d77d11d6c)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/streams.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c
index b6680e081e..1dab36c28b 100644
--- a/source4/torture/raw/streams.c
+++ b/source4/torture/raw/streams.c
@@ -560,7 +560,9 @@ bool torture_raw_streams(struct torture_context *torture,
}
ret &= test_stream_io(torture, cli, torture);
+ smb_raw_exit(cli->session);
ret &= test_stream_sharemodes(torture, cli, torture);
+ smb_raw_exit(cli->session);
if (!torture_setting_bool(torture, "samba4", false)) {
ret &= test_stream_delete(torture, cli, torture);
}