From: Linus Nordberg Date: Thu, 7 Sep 2023 06:22:05 +0000 (+0200) Subject: Fix regression in invokation of rspamd-test X-Git-Tag: 3.7.1~54^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5bf0a9baf36ab68d089a6daf6a3ac23c3c10e00d;p=rspamd.git Fix regression in invokation of rspamd-test A space seems to have sneaked into the setting of LUA_PATH environment. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 58839fbf9..d3db35b20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -779,7 +779,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)