commit - b05a35e5e99923cf0c1f773a0323931f434395c9
commit + c87c6f13c4b7d8026799c6e7a4399e77c1710de4
blob - 14ccec90c2a0b4f4cc5fd9d11837256c8b4591f0
blob + 403606a8cdd05fa55916093c9f7a5b6d1a872caa
--- test/app-tap/minimal.test.lua
+++ test/app-tap/minimal.test.lua
#!/usr/bin/env tarantool
+local TARANTOOL_PATH = arg[-1]
+
print('Hello, World!')
--
io.flush()
-os.execute("tarantool ./script-args.lua 1 2 3")
+os.execute(("%s ./script-args.lua 1 2 3"):format(TARANTOOL_PATH))
--
-- LUA_PATH and LUA_CPATH argument handling
}) do
local cmd = table.concat({
("%s='%s'"):format(env[1], res[2]),
- ('tarantool %s'):format(env[2]),
+ ('%s %s'):format(TARANTOOL_PATH, env[2]),
}, ' ')
local fh = io.popen(cmd)
local rv = fh:read():gsub('-', '%%-'):gsub('+', '%%+'):gsub('?', '%%?')