mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
eb3c47ac33
This ensures we detect the runtime system and release, not the ones when Samba was build. It's necessary to detect the correct kernel version we're running on because for kernels before 5.3.1 O_PATH opens unnecessarily broke kernel oplocks, which breaks our tests. And in gitlab it can happen that we build on kernels after 5.3.1 and later run on older kernels. In this situation we can't run kernel oplock tests. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>