Re: [PATCH v7 1/6] t5323: test cases for git-pack-redundant
Jiang Xin <worldhello.net@gmail.com> 于2019年2月1日周五 下午3:23写道:
Show 32 quoted lines
>
> Eric Sunshine <sunshine@sunshineco.com> 于2019年2月1日周五 下午2:11写道:
> > > Nice chart, will edit test_description as follows:
> > >
> > > test_description='git pack-redundant test
> > >
> > > In order to test git-pack-redundant, we will create a number of
> > > redundant
> > > packs in the repository `master.git`. The relationship between
> > > packs (P1-P8)
> > > and objects (T,A-R) is show in the following chart:
> > >
> > > | T A B C D E F G H I J K L M N O P Q R
> > > ---+--------------------------------------
> > > P1 | x x x x x x x x
> > > P2 | x x x x x x x
> > > P3 | x x x x x x
> > > P4 | x x x x x
> > > P5 | x x x x
> > > P6 | x x x
> > > P7 | x x
> > > P8 | x
> >
> > test_description should be a meaningful one-liner; it should not
> > contain this other information, but this information should appear as
> > comments in the test script.
>
> In 't/t0000-basic.sh', there is also a very long test_description.
> After read 't/test-lib.sh', the only usage of test_description
> is showing it as help, when runing:
>
> sh ./t0000-basic.sh
sh ./t0000-basic.sh --help