Commit Diff


commit - 7f6e215b46b8554e3ae314f38c06a66f49119738
commit + 3c3090ac6c8b4ece4ee3ee6196dfae98bf2335d4
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