# HG changeset patch # User Anton Shestakov # Date 1725893163 -14400 # Node ID 4836e75f0a0309e8612879d377291b1ca12404bd # Parent ab7bbcd052ad7b30570a93140a438528003947e1 tests: don't put file lists inside dist/ directory Makes it easier to use `twine check dist/*` or anything that expects dist/ to only contain dist files. diff -r ab7bbcd052ad -r 4836e75f0a03 tests/test-check-sdist.t --- a/tests/test-check-sdist.t Mon Sep 09 18:32:53 2024 +0400 +++ b/tests/test-check-sdist.t Mon Sep 09 18:46:03 2024 +0400 @@ -31,30 +31,30 @@ $ find hg?evolve-*.tar.gz -size +800000c hg?evolve-*.tar.gz (glob) - $ tar -tzf hg?evolve-*.tar.gz | sed 's|^hg.evolve-[^/]*/||' | sort > files - $ 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 - $ wc -l test-files - ??? test-files (glob) - $ grep -F debian files + $ tar -tzf hg?evolve-*.tar.gz | sed 's|^hg.evolve-[^/]*/||' | sort > ../files + $ 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 + $ wc -l ../test-files + ??? ../test-files (glob) + $ grep -F debian ../files tests/test-check-debian.t - $ grep -F __init__.py files + $ grep -F __init__.py ../files hgext3rd/__init__.py hgext3rd/evolve/__init__.py hgext3rd/evolve/thirdparty/__init__.py hgext3rd/topic/__init__.py - $ grep -F common.sh files + $ grep -F common.sh ../files docs/tutorial/testlib/common.sh tests/testlib/common.sh - $ grep -F README files + $ grep -F README ../files README.rst docs/README docs/tutorial/README.rst hgext3rd/topic/README - $ grep -E '(gitlab|contrib|hack|format-source)' files + $ grep -E '(gitlab|contrib|hack|format-source)' ../files [1] - $ grep -F netlify files + $ grep -F netlify ../files [1]