# HG changeset patch # User Anton Shestakov # Date 1726492943 -14400 # Node ID e823d9117a680157c7a2c0bb37dd05ce93cb8318 # Parent f0a052aa924dcc036e0dbf2ebaa90d42c24d30b5 tests: further relax the number of files check in test-check-sdist.t A previous patch bumped this number due to a different version of setuptools or distutils or some other package that we don't control, which made it pretty obvious that this check is not really practical. We need a better way to check that all needed files are present in the tarball. I have some ideas, but this patch can be applied without further waiting, and it'll already bring the benefit of not annoying developers or contributors while at the same time still keeping the test somewhat useful. diff -r f0a052aa924d -r e823d9117a68 tests/test-check-sdist.t --- a/tests/test-check-sdist.t Thu Sep 12 16:41:22 2024 +0400 +++ b/tests/test-check-sdist.t Mon Sep 16 17:22:23 2024 +0400 @@ -37,7 +37,7 @@ $ grep -E '^tests/test-.*\.(t|py)$' ../files > ../test-files $ grep -E -v '^tests/test-.*\.(t|py)$' ../files > ../other-files $ wc -l ../other-files - 151 ../other-files + ??? ../other-files (glob) $ wc -l ../test-files ??? ../test-files (glob) $ grep -F debian ../files