git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
068f42b
)
torture3: Fix an error message
author
Volker Lendecke
<vl@samba.org>
Thu, 14 Mar 2019 10:40:23 +0000
(11:40 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 18 Mar 2019 19:21:23 +0000
(19:21 +0000)
We tried to open "dname", not "fname"
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index ac10de2fdcc420f9f38c6dcc54938e2f1df30f9f..8b1bf32676912425895fe92735d3c16c514d6eeb 100644
(file)
--- a/
source3/torture/torture.c
+++ b/
source3/torture/torture.c
@@
-6416,7
+6416,9
@@
static bool run_simple_posix_open_test(int dummy)
/* What happens when we try and POSIX open a directory for write ? */
status = cli_posix_open(cli1, dname, O_RDWR, 0, &fnum1);
if (NT_STATUS_IS_OK(status)) {
- printf("POSIX open of directory %s succeeded, should have failed.\n", fname);
+ printf("POSIX open of directory %s succeeded, "
+ "should have failed.\n",
+ dname);
goto out;
} else {
if (!check_both_error(__LINE__, status, ERRDOS, EISDIR,