git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7331f3
)
Fix error codes to match Windows NFS Server behavior
master-nfs-testing
author
Günther Deschner
<gd@samba.org>
Mon, 20 Nov 2023 22:00:58 +0000
(23:00 +0100)
committer
Günther Deschner
<gd@samba.org>
Tue, 21 Nov 2023 12:40:12 +0000
(13:40 +0100)
source4/torture/nfs/nfs.c
patch
|
blob
|
history
diff --git
a/source4/torture/nfs/nfs.c
b/source4/torture/nfs/nfs.c
index 4e1678335d0a543a0370f8e78363280f3d35b7cf..a6b8bcbccdfa7671a09219a03fa26d17b378e74f 100644
(file)
--- a/
source4/torture/nfs/nfs.c
+++ b/
source4/torture/nfs/nfs.c
@@
-575,12
+575,12
@@
static bool test_nfs_mix_smb_with_io_and_unlink(struct torture_context *tctx,
torture_assert_nfs_equal(tctx,
nfs_unlink(t->nfs, fname),
- -NFSERR_
NOENT
,
+ -NFSERR_
ACCES
,
"Failed to unlink file");
torture_assert_nfs_equal(tctx,
nfs_open(t->nfs, fname, O_RDONLY, &nfsfh),
- -NFSERR_
NOENT
,
+ -NFSERR_
IO
,
"Failed to open file");
ZERO_STRUCT(rd);