Mercurial > evolve
comparison tests/test-check-sdist.t @ 6872:1ce9c2252965
tests: compare tarball with source directory in test-check-sdist.t
We only care about test-repo case because that's how we generate sdist files
(and even then we use `hg archive` first). Creating hg-evolve tarballs from
sources obtained by any other method is not common and is a different can of
worms.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 06 Oct 2024 19:48:18 +0400 |
parents | f1eefaa0ad28 |
children | 361dcfcb3f08 |
comparison
equal
deleted
inserted
replaced
6871:f1eefaa0ad28 | 6872:1ce9c2252965 |
---|---|
60 $ grep -E '(gitlab|contrib|hack|format-source)' ../files | 60 $ grep -E '(gitlab|contrib|hack|format-source)' ../files |
61 [1] | 61 [1] |
62 $ grep -F netlify ../files | 62 $ grep -F netlify ../files |
63 [1] | 63 [1] |
64 | 64 |
65 #if test-repo | |
66 $ ( cd "$TESTTMP"/hg-evolve && find . ) | sed -e 's|^\./||;/^\.$/d' | sort > ../src-files | |
67 | |
68 extra files/directories in the tarball | |
69 $ comm -23 ../files ../src-files | |
70 PKG-INFO | |
71 | |
72 source files/directories excluded from the tarball | |
73 $ comm -13 ../files ../src-files | |
74 .gitlab | |
75 .gitlab-ci.yml | |
76 .gitlab/issue_templates | |
77 .gitlab/issue_templates/new-version.md | |
78 .hg-format-source | |
79 .hg_archival.txt | |
80 .hgignore | |
81 .hgtags | |
82 Makefile | |
83 contrib | |
84 contrib/docker | |
85 contrib/docker/pytype | |
86 contrib/docker/pytype/Dockerfile | |
87 contrib/docker/pytype/README.rst | |
88 contrib/docker/pytype/entrypoint.sh | |
89 contrib/hammerclient.py | |
90 contrib/merge-test-compat.sh | |
91 contrib/nopushpublish.py | |
92 debian | |
93 debian/changelog | |
94 debian/compat | |
95 debian/control | |
96 debian/copyright | |
97 debian/docs | |
98 debian/rules | |
99 debian/source | |
100 debian/source/format | |
101 debian/source/options | |
102 debian/test-blacklist | |
103 docs/tutorial/.netlify | |
104 hgext3rd/evolve/hack | |
105 hgext3rd/evolve/hack/__init__.py | |
106 hgext3rd/evolve/hack/drophack.py | |
107 tests/test-drop.t | |
108 #endif | |
109 | |
65 #if twine | 110 #if twine |
66 $ twine --no-color check * | 111 $ twine --no-color check * |
67 Checking hg?evolve-*.tar.gz: PASSED (glob) | 112 Checking hg?evolve-*.tar.gz: PASSED (glob) |
68 #endif | 113 #endif |