git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b8a5ab
)
TODO source3/selftest/tests.py have_linux_openat2
author
Stefan Metzmacher
<metze@samba.org>
Mon, 15 Aug 2022 00:27:20 +0000
(
02:27
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 15 Nov 2022 08:33:07 +0000
(09:33 +0100)
source3/selftest/tests.py
patch
|
blob
|
history
diff --git
a/source3/selftest/tests.py
b/source3/selftest/tests.py
index 67ba7b104844a28b8ff01016d1cb985f8d690642..686dd96b43084d7b9095d4148b939d9f0c219683 100755
(executable)
--- a/
source3/selftest/tests.py
+++ b/
source3/selftest/tests.py
@@
-88,6
+88,11
@@
if "HAVE_KERNEL_OPLOCKS_LINUX" in config_hash:
if compare_versions(linux_kernel_version, [5,3,1]) >= 0:
have_linux_kernel_oplocks = True
+have_linux_openat2 = False
+if linux_kernel_version is not None:
+ if compare_versions(linux_kernel_version, [5,6,0]) >= 0:
+ have_linux_openat2 = True
+
have_inotify = ("HAVE_INOTIFY" in config_hash)
have_ldwrap = ("HAVE_LDWRAP" in config_hash)
with_pthreadpool = ("WITH_PTHREADPOOL" in config_hash)