1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00

r13277: print a useful error message when test 17 fails

This commit is contained in:
Andrew Tridgell 2006-02-01 05:22:44 +00:00 committed by Gerald (Jerry) Carter
parent c5b709fae6
commit 70ad98b051

View File

@ -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;
}