https://bugs.kde.org/show_bug.cgi?id=516630
--- Comment #4 from Méven <[email protected]> --- Git commit 679d5b646a8fe7314038f1bf7b334d39761af8d0 by Méven Car. Committed on 21/10/2026 at 09:40. Pushed by meven into branch 'master'. smb: test that a copy from a share keeps the mtime of its source smbcopytest starts smbd as the current user on a free port of 127.0.0.1, with its configuration and state in a temporary folder. It copies files of several sizes from the share with KIO::copy. The test is not built when smbd or pdbedit is not installed. Without "smb: give a file copied from a share the mtime of its source", the copies of 1000 bytes, 70000 bytes and 4 MiB get the current time, and the copy of 64 KiB loses its fraction of a second. M +14 -0 smb/autotests/CMakeLists.txt A +184 -0 smb/autotests/run_smbserver.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.0)] A +43 -0 smb/autotests/run_smbserver.h [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.0)] A +84 -0 smb/autotests/smbcopytest.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.0)] https://invent.kde.org/network/kio-extras/-/commit/679d5b646a8fe7314038f1bf7b334d39761af8d0 -- You are receiving this mail because: You are watching all bug changes.
