diff --git a/test/justrun.lua b/test/justrun.lua
index 5a6ad5decba84208d79dfb674fb31c72b9fd5a41..596adf88e9431f22a8ed26f67bc709b19df1b238 100644
--- a/test/justrun.lua
+++ b/test/justrun.lua
@@ -72,6 +72,10 @@ function justrun.tarantool(dir, env, args, opts)
     local opts = opts or {}
     assert(type(opts) == 'table')
 
+    -- Prevent system/user inputrc configuration file from
+    -- influencing testing code.
+    env['INPUTRC'] = '/dev/null'
+
     local tarantool_exe = arg[-1]
     -- Use popen.shell() instead of popen.new() due to lack of
     -- cwd option in popen (gh-5633).