Commit Diff


commit - dfc8390bc45970ff21a221881dbb145f3ea720b4
commit + ec1f1a2ec538447b255c344229dc992572a3b5d3
blob - 7e3f512f3be5218309a20c20989c9ab4b34fa168
blob + c9bc4c26113036a9b366587832d423e6c1d18faf
--- test/app-luatest/gh_5747_crash_multiple_args_test.lua
+++ test/app-luatest/gh_5747_crash_multiple_args_test.lua
@@ -3,7 +3,11 @@ 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 =
+        ('%s -ea=10 -e b=20 -ec=30 -e d=40 -e"print(a+b+c+d)"'):
+        format(TARANTOOL_PATH)
+    local handle = io.popen(cmd)
     local result = handle:read()
     t.assert_equals(result, '100')
 end