comparison tests/test-generaldelta.t @ 19942:2c886dedd902 stable

tests: move generaldelta test to inline python (issue4064)
author Matt Mackall <mpm@selenic.com>
date Mon, 21 Oct 2013 10:50:58 -0700
parents 1b2f9d36953e
children cc0ff93d0c0c
comparison
equal deleted inserted replaced
19941:2bf99bc5077a 19942:2c886dedd902
13 > echo $r > foo 13 > echo $r > foo
14 > hg commit -q -m $r 14 > hg commit -q -m $r
15 > hg up -q -r 0 15 > hg up -q -r 0
16 > hg pull . -q -r $r -R ../gdrepo 16 > hg pull . -q -r $r -R ../gdrepo
17 > done 17 > done
18
18 $ cd .. 19 $ cd ..
19 $ regsize=`du -s -b repo/.hg/store/00manifest.i | cut -f 1` 20 >>> import os
20 $ gdsize=`du -s -b gdrepo/.hg/store/00manifest.i | cut -f 1` 21 >>> regsize = os.stat("repo/.hg/store/00manifest.i").st_size
21 $ if [ $regsize -lt $gdsize ]; then 22 >>> gdsize = os.stat("gdrepo/.hg/store/00manifest.i").st_size
22 > echo 'generaldelta increased size of a revlog!' 23 >>> if regsize < gdsize:
23 > fi 24 ... print 'generaldata increased size of manifest'