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:
parent
c5b709fae6
commit
70ad98b051
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user