[PATCH] generaldelta: fix test

Kevin Bullock kbullock+mercurial at ringworld.org
Mon Sep 30 22:32:55 CDT 2013


On 30 Sep 2013, at 8:45 PM, Wojciech Lopata wrote:

> # HG changeset patch
> # User Wojciech Lopata <lopek at fb.com>
> # Date 1380590862 25200
> #      Mon Sep 30 18:27:42 2013 -0700
> # Node ID f59a98c5a16d2bf7aa2ca73178ae7b70902347b9
> # Parent  c80feeb715d1ebe9232c00881d43c1bbb594b3fa
> generaldelta: fix test
> 
> diff --git a/tests/test-generaldelta.t b/tests/test-generaldelta.t
> --- a/tests/test-generaldelta.t
> +++ b/tests/test-generaldelta.t
> @@ -18,6 +18,6 @@
>   $ cd ..
>   $ regsize=`du -s -b repo/.hg/store/00manifest.i | cut -f 1`
>   $ gdsize=`du -s -b gdrepo/.hg/store/00manifest.i | cut -f 1`
> -  $ if [ $regsize -gt $gdsize ]; then
> +  $ if [ $regsize -lt $gdsize ]; then
>>  echo 'generaldelta increased size of a revlog!'
>> fi

Bwuh. So why wasn't this failing? Or why isn't it failing (i.e., having changed output) now?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list