Mercurial > evolve
view tests/test-check-compat-strings.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 | 73cd416a1653 |
children |
line wrap: on
line source
Enable obsolescence to avoid the warning issue when obsmarkers are found $ cat << EOF >> $HGRCPATH > [experimental] > evolution = all > EOF $ "$PYTHON" "$TESTDIR/testlib/check-compat-strings.py" \ > "$TESTDIR/../hgext3rd/" "$RUNTESTDIR/.."