1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s4:torture: cleanup after smb2 getinfo scan

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Gregor Beck 2012-03-02 11:19:48 +01:00 committed by Stefan Metzmacher
parent cbe918d106
commit 2b3ed65273

View File

@ -58,6 +58,7 @@ bool torture_smb2_getinfo_scan(struct torture_context *torture)
status = torture_setup_complex_dir(tree, DNAME);
if (!NT_STATUS_IS_OK(status)) {
printf("Failed to setup complex dir '%s'\n", DNAME);
smb2_util_unlink(tree, FNAME);
return false;
}
torture_setup_complex_file(tree, DNAME ":2ndstream");
@ -96,6 +97,8 @@ bool torture_smb2_getinfo_scan(struct torture_context *torture)
}
}
smb2_util_unlink(tree, FNAME);
smb2_util_rmdir(tree, DNAME);
return true;
}