summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-02-01 05:22:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:41 -0500
commit52f023d4de6934cd0a4b91c10983aa8729331e22 (patch)
tree06fa91a1703bd28315e7b5e66d32a220e7e74145 /source4
parent99c559cd58478ae6bf6a2cb88293b0ab240a8e1f (diff)
downloadsamba-52f023d4de6934cd0a4b91c10983aa8729331e22.tar.gz
samba-52f023d4de6934cd0a4b91c10983aa8729331e22.tar.bz2
samba-52f023d4de6934cd0a4b91c10983aa8729331e22.zip
r13277: print a useful error message when test 17 fails
(This used to be commit 70ad98b05136da0cdbd91b8374ac9709abfcadeb)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/basic/delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c
index 0c01561d2e..0980ae1d0d 100644
--- a/source4/torture/basic/delete.c
+++ b/source4/torture/basic/delete.c
@@ -1177,8 +1177,8 @@ BOOL torture_test_delete(void)
/* See if the file is deleted - shouldn't be.... */
fnum1 = smbcli_open(cli1->tree, fname, O_RDWR, DENY_NONE);
if (fnum1 == -1) {
- printf("(%s) open of %s failed (should succeed)\n",
- __location__, fname);
+ printf("(%s) open of %s failed (should succeed) - %s\n",
+ __location__, fname, smbcli_errstr(cli1->tree));
correct = False;
goto fail;
}