Skip to content

Commit

Permalink
test: reset readline configuration for justrun too
Browse files Browse the repository at this point in the history
This fixes gh_8613_new_cli_behaviour_test run with my custom .inputrc
(I use vi-cmd-mode-string/vi-ins-mode-string).

We already reset readline configuration in interactive_tarantool.lua.

Follows up ground works done for tarantool#7774

NO_DOC=test harness
NO_TEST=test harness
NO_CHANGELOG=test harness

(cherry picked from commit 028c65e)
  • Loading branch information
nshy authored and Totktonada committed Dec 29, 2023
1 parent 3b2438e commit e91b3a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/justrun.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit e91b3a4

Please sign in to comment.