--- tests/CMakeLists.txt.orig	2025-11-08 16:37:29 UTC
+++ tests/CMakeLists.txt
@@ -13,7 +13,7 @@ if (ENABLE_CLICKHOUSE_TEST)
     install (PROGRAMS clickhouse-test DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse)
     install (
         DIRECTORY queries performance config
-        DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/clickhouse-test
+        DESTINATION ${CMAKE_INSTALL_PREFIX}/tests/clickhouse
         USE_SOURCE_PERMISSIONS
         COMPONENT clickhouse
         PATTERN "CMakeLists.txt" EXCLUDE
