Commit Diff


commit - 41bbe3287e13021cdc5ad0c3d069b18b323eb8a1
commit + 62894f299b40e13acf7a5c0604caaafa18830712
blob - 7e3f512f3be5218309a20c20989c9ab4b34fa168
blob + cf08936a41e555b319ac7705dfff8fdf28ce5a69
--- test/app-luatest/gh_5747_crash_multiple_args_test.lua
+++ test/app-luatest/gh_5747_crash_multiple_args_test.lua
@@ -3,7 +3,12 @@ local t = require('luatest')
 local g = t.group()
 
 g.test_multiple_args = function()
-    local handle = io.popen('tarantool -ea=10 -e b=20 -ec=30 -e d=40 -e"print(a+b+c+d)"')
+    local TARANTOOL_PATH = arg[-1]
+    local cmd = string.format(
+        '%s -ea=10 -e b=20 -ec=30 -e d=40 -e"print(a+b+c+d)"',
+        TARANTOOL_PATH
+    )
+    local handle = io.popen(cmd)
     local result = handle:read()
     t.assert_equals(result, '100')
 end