Mercurial > evolve
diff tests/test-topic-dest.t @ 5956:8e78e0f316b3 stable
tests: improve tarball size check in test-check-sdist.t
Instead of relying on globs for checking numbers, let's rely on find(1)'s
ability to check file size in a more intelligent way.
I would write the number as +800k, but it's not supported in some
implementations of find, so it's not portable. Instead have to use "c" to make
find(1) use bytes instead of 512-byte blocks, which is the default (???).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 16 Jun 2021 08:29:28 +0300 |
parents | c2fab88e6d60 |
children | 03410b04cf10 6ac544f0218f |