diff -Nurp a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt 2023-08-03 13:56:19.000000000 +0000 +++ b/CMakeLists.txt 2023-08-03 21:53:29.434859131 +0000 @@ -777,7 +777,7 @@ IF (NOT DEBIAN_BUILD) ADD_CUSTOM_TARGET(check DEPENDS rspamd-test-cxx rspamd-test) ADD_CUSTOM_TARGET(run-test DEPENDS check COMMAND test/rspamd-test-cxx - COMMAND sh -c 'LUA_PATH= "${CMAKE_SOURCE_DIR}/lualib/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/init.lua\;${CMAKE_SOURCE_DIR}/contrib/lua-?/?.lua" + COMMAND sh -c 'LUA_PATH="${CMAKE_SOURCE_DIR}/lualib/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/?.lua\;${CMAKE_SOURCE_DIR}/lualib/?/init.lua\;${CMAKE_SOURCE_DIR}/contrib/lua-?/?.lua" test/rspamd-test -p /rspamd/lua') ENDIF (NOT DEBIAN_BUILD)