diff --git a/bin/luatest b/bin/luatest index e51b98b7..8bfb9b56 100755 --- a/bin/luatest +++ b/bin/luatest @@ -1,20 +1,5 @@ #!/usr/bin/env tarantool --- --- Add the luatest module to LUA_PATH so that it can be used in processes --- spawned by tests. --- -local fio = require('fio') -local path = package.search('luatest') -if path == nil then - error('luatest not found') -end -path = fio.dirname(path) -- strip init.lua -path = fio.dirname(path) -- strip luatest -os.setenv('LUA_PATH', - path .. '/?.lua;' .. path .. '/?/init.lua;' .. - (os.getenv('LUA_PATH') or ';')) - print(('Tarantool version is %s'):format(require('tarantool').version)) require('luatest.cli_entrypoint')()