From 9ee1798e270f44c94bd13ca8becbac393535005b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 16 Oct 2021 07:54:03 +0000 Subject: t/lei*: set EDITOR for dumb terminals Running tests over a non-interactive ssh session fails, otherwise. --- t/lei.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/lei.t') diff --git a/t/lei.t b/t/lei.t index 53fc43fb..f7de1b71 100644 --- a/t/lei.t +++ b/t/lei.t @@ -101,7 +101,7 @@ my $test_config = sub { lei_ok(qw(-c imap.debug=a -c imap.debug=b config --get-all imap.debug)); is($lei_out, "a\nb\n", '-c and --get-all work together'); - lei_ok([qw(config -e)], { VISUAL => 'cat' }); + lei_ok([qw(config -e)], { VISUAL => 'cat', EDITOR => 'cat' }); is($lei_out, "[a]\n\tb = c\n", '--edit works'); }; -- cgit v1.2.3-24-ge0c7