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
  • Loading branch information
nshy authored and locker committed Jul 19, 2023
1 parent 054526a commit 028c65e
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 028c65e

Please sign in to comment.