Re: [PATCH 21/21] t3080: tests for git-list-files
- From
Michael Blume <blume.mike@gmail.com>
- Date
- Jan 28, 2015, 17:49 UTC
- Message-ID
- <CAO2U3Qg_w17uDZhqehJnQQLeRTLXN1Fir=v+RJqcknptqJB-6Q@mail.gmail.com>
- In-Reply-To
- <CACsJy8DKJiXpHU4v3vsrgG0dDQ1akGYzfW9cgVJ=mPtdHjsbZw@mail.gmail.com>
On Wed, Jan 28, 2015 at 2:19 AM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 29 quoted lines
> On Wed, Jan 28, 2015 at 11:44 AM, Michael Blume <blume.mike@gmail.com> wrote: >> Test 3 is failing on my mac: >> >> expecting success: >> test_config color.ls.file red && >> test_config color.ls.directory green && >> test_config color.ls.submodule yellow && >> git list-files --color=always >actual && >> test_cmp "$TEST_DIRECTORY"/t3080/color_ls actual >> >> --- /Users/michael.blume/workspace/git/t/t3080/color_ls 2015-01-28 >> 04:40:23.000000000 +0000 >> +++ actual 2015-01-28 04:42:59.000000000 +0000 >> @@ -1,3 +1,3 @@ >> -dir >> -file >> -gitlink >> +dir >> +file >> +gitlink > > Urgh.. colors do not send well over plain text.. I just realized we > have test_decode_color to convert colors to text descriptions.. will > fix.. > > Anyway, I think i may know why it fails. I suppose the env variable > LS_COLORS is not defined, or defined as empty in your shell? > -- > Duy
In case it helps: https://www.dropbox.com/s/zsm3xgulmsl3rqm/Screenshot%202015-01-28%2009.46.57.png?dl=0
Also no, LS_COLORS is not defined
$ echo $LS_COLORS
$