diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-17 10:54:46 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-17 13:01:04 +1100 |
commit | 05f5f22361f18091222c9d20a754ba3c81e8b5c9 (patch) | |
tree | 99feeff1a210c2563e476ffeeee91e7d406485e5 /source4 | |
parent | 8c7a81408a34779f58e52e471c79886dbfc7f3d7 (diff) | |
download | samba-05f5f22361f18091222c9d20a754ba3c81e8b5c9.tar.gz samba-05f5f22361f18091222c9d20a754ba3c81e8b5c9.tar.bz2 samba-05f5f22361f18091222c9d20a754ba3c81e8b5c9.zip |
s4-torture: minor debugging enhancements
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/raw/acls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c index b56345656a..8f58c4765b 100644 --- a/source4/torture/raw/acls.c +++ b/source4/torture/raw/acls.c @@ -1410,7 +1410,7 @@ static bool test_inheritance(struct torture_context *tctx, if (!(test_flags[i].parent_flags & SEC_ACE_FLAG_OBJECT_INHERIT)) { if (!security_descriptor_equal(q.query_secdesc.out.sd, sd_def)) { - printf("Expected default sd:\n"); + printf(__location__ ": Expected default sd for i=%d:\n", i); NDR_PRINT_DEBUG(security_descriptor, sd_def); printf("at %d - got:\n", i); NDR_PRINT_DEBUG(security_descriptor, q.query_secdesc.out.sd); @@ -1639,8 +1639,8 @@ static bool test_inheritance_dynamic(struct torture_context *tctx, { NTSTATUS status; union smb_open io; - const char *dname = BASEDIR "\\inheritance"; - const char *fname1 = BASEDIR "\\inheritance\\testfile"; + const char *dname = BASEDIR "\\inheritance2"; + const char *fname1 = BASEDIR "\\inheritance2\\testfile"; bool ret = true; int fnum=0, fnum2; union smb_fileinfo q; |