Patchwork generaldelta: fix test

login
register
mail settings
Submitter Wojciech Lopata
Date Oct. 1, 2013, 1:45 a.m.
Message ID <f59a98c5a16d2bf7aa2c.1380591937@dev1179.prn1.facebook.com>
Download mbox | patch
Permalink /patch/2682/
State Accepted
Commit 1b2f9d36953e6ed384a044c1e73cb3a1aa072004
Headers show

Comments

Wojciech Lopata - Oct. 1, 2013, 1:45 a.m.
# HG changeset patch
# User Wojciech Lopata <lopek@fb.com>
# Date 1380590862 25200
#      Mon Sep 30 18:27:42 2013 -0700
# Node ID f59a98c5a16d2bf7aa2ca73178ae7b70902347b9
# Parent  c80feeb715d1ebe9232c00881d43c1bbb594b3fa
generaldelta: fix test
Matt Mackall - Oct. 12, 2013, 12:47 a.m.
On Mon, 2013-09-30 at 18:45 -0700, Wojciech Lopata wrote:
> # HG changeset patch
> # User Wojciech Lopata <lopek@fb.com>
> # Date 1380590862 25200
> #      Mon Sep 30 18:27:42 2013 -0700
> # Node ID f59a98c5a16d2bf7aa2ca73178ae7b70902347b9
> # Parent  c80feeb715d1ebe9232c00881d43c1bbb594b3fa
> generaldelta: fix test

Queued for default, thanks.

Patch

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