Skip to content

Commit

Permalink
make test suite happy
Browse files Browse the repository at this point in the history
  • Loading branch information
wofr06 committed Dec 13, 2023
1 parent 9985bc4 commit 63872f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sub usage {
$ENV{LESSQUIET} =1;
$ENV{LESSCOLORIZER} = 'vimcolor';
$ENV{LANG} = 'en_US.UTF-8';
$ENV{LC_ALL} = 'en_US.UTF-8';
$ENV{TZ} = '';
(my $dir = $0) =~ s|/[^/]*$|:|;
$ENV{PATH} = $dir . $ENV{PATH};
Expand Down Expand Up @@ -446,9 +447,9 @@ sub comp {
LESS= less $T/tests/a-r-R.pl # name contains -r or -R git #78
= sub test {}
less $T/tests/test_zip:non-existent-file # nonexisting file in a zip archive git #1
~
~
LESS= less tests/dir.zip # do not colorize listing git #140
= drwxrwxr-x 0 1000 1000 0 Dez 12 20:56 dir/
~ drwxrwxr-x 0 1000 1000 0 Dec 12 20:56 dir/
less $T/tests/test\ \;\'\"\[\(\{ok # file name with chars such as ", ' ...
= test
less tests/special.tgz:test\ \;\'\"\[\(\{ok # archive having a file with chars from [ ;"'] etc. in the name
Expand Down

0 comments on commit 63872f3

Please sign in to comment.