]> arthur.barton.de Git - bup.git/commitdiff
Compute exact sizes via t/data-size in test-gc.sh
authorRob Browning <rlb@defaultvalue.org>
Tue, 24 May 2016 00:15:30 +0000 (19:15 -0500)
committerRob Browning <rlb@defaultvalue.org>
Tue, 24 May 2016 23:13:56 +0000 (18:13 -0500)
Add a t/data-size helper that computes the total data size of all named
paths and use it instead of du in test-gc.sh to determine the
before/after repository sizes.

This should fix spurious test failures on filesystems with a large block
size.  (Observed on ppc64el and powerpc tmpfs filesystems.)

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>

No differences found