tests: fix check-code breakage stable
authorMatt Mackall <mpm@selenic.com>
Mon, 23 Sep 2013 13:22:28 -0700
branchstable
changeset 19784 4d2bea6604d3
parent 19769 83d79a00cc24
child 19785 1d2ca307bf22
child 19829 8b44d311ef16
tests: fix check-code breakage
tests/test-generaldelta.t
--- a/tests/test-generaldelta.t	Mon Sep 23 20:23:25 2013 +0900
+++ b/tests/test-generaldelta.t	Mon Sep 23 13:22:28 2013 -0700
@@ -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 < gdsize)); then
+  $ if [ $regsize -gt $gdsize ]; then
   >   echo 'generaldelta increased size of a revlog!'
   > fi