summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-02-24 09:42:46 -0800
committerJeremy Allison <jra@samba.org>2020-02-25 23:23:39 +0000
commit51551e0d53fa6abf2c7036ec8a8758f68249b5da (patch)
tree456752b3fb2fe048d4120ce570991a7062bee550 /selftest
parent5076e28aec0ff35b90eee871940cc077c2cacfd1 (diff)
downloadsamba-51551e0d53fa6abf2c7036ec8a8758f68249b5da.tar.gz
libsmb: Pass the correct path to cli_posix_stat()
This fixes doing strlen() on talloc_tos(), about which valgrind is pretty unhappy. Without this patch we survive the tests because we have fallbacks to the non-posix flavors of stat(). With this patch in place cli_posix_stat() becomes functional in this code path. This creates conflicts with the readdir libsmbclient tests, which need fixing separately. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14101 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/libsmbclient2
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/knownfail.d/libsmbclient b/selftest/knownfail.d/libsmbclient
new file mode 100644
index 00000000000..dddd6d24920
--- /dev/null
+++ b/selftest/knownfail.d/libsmbclient
@@ -0,0 +1,2 @@
+samba4.libsmbclient.readdirplus2.NT1.readdirplus2.*
+samba4.libsmbclient.readdirplus_seek.NT1.readdirplus_seek.*