From 05f5f22361f18091222c9d20a754ba3c81e8b5c9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 17 Oct 2009 10:54:46 +1100 Subject: s4-torture: minor debugging enhancements --- source4/torture/raw/acls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture/raw') 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; -- cgit