Mercurial > evolve
diff tests/test-check-sdist.t @ 6845:4836e75f0a03
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 09 Sep 2024 18:46:03 +0400 |
parents | ab7bbcd052ad |
children | 6d61440357af |
line wrap: on
line diff
--- 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]