Skip to content
Snippets Groups Projects
Martin von Zweigbergk's avatar
Martin von Zweigbergk authored
The flag processors test for duplicate processors for a single flag
was misleading because the file from the previous test case caused it
to fail (making the "echo 'this should fail' > file" part
irrelevant). Let's remove the leftover from the previous test case to
make it clear that duplicate flag processors results only in a
warning.

Note that duplicate flag processors would have resulted in a failure
(not just a warning) until ea1c2eb7abd3 (extensions: catch uisetup and
extsetup failures and don't let them break hg, 2017-06-06). I remember
expressing my concern about ending up with half-loaded extensions. It
would be pretty unfortunate to have double-encoded revlog content
enter a repo, so maybe we should reconsider?

Differential Revision: https://phab.mercurial-scm.org/D201
41081364
History
Name Last commit Last update
..
blacklists
bundles
gpg
sslcerts
svn
testlib
README
autodiff.py
badserverext.py
binfile.bin
blackbox-readonly-dispatch.py
bzr-definitions
cgienv
check-gendoc
check-perf-code.py
crashgetbundler.py
drawdag.py
dumbhttp.py
dummysmtpd.py
dummyssh
f
failfilemerge.py
fakedirstatewritetime.py
fakemergerecord.py
fakepatchtime.py
filterpyflakes.py
flagprocessorext.py
fsmonitor-run-tests.py
generate-working-copy-states.py
get-with-headers.py
helper-runtests.sh
helpers-testrepo.sh
heredoctest.py
hghave
hghave.py
hgterm.ti
hgweberror.py
histedit-helpers.sh
hypothesishelpers.py
killdaemons.py
lockdelay.py
md5sum.py
missing-comment.hg
mockblackbox.py
notcapable
pdiff
printenv.py
readlink.py
revlog-formatv0.py
revnamesext.py
run-tests.py
seq.py
silenttestrunner.py
sitecustomize.py
svn-safe-append.py
svnxml.py
test-abort-checkin.t
test-acl.t
test-add.t
test-addremove-similar.t
test-addremove.t
test-alias.t
test-amend.t
test-ancestor.py
test-ancestor.py.out
test-annotate.t
test-archive-symlinks.t
test-archive.t
test-atomictempfile.py
test-audit-path.t
test-automv.t
test-backout.t
test-backwards-remove.t
test-bad-extension.t
test-bad-pull.t
test-basic.t
test-batching.py
test-batching.py.out
test-bdiff.py
test-bheads.t
test-bisect.t
test-bisect2.t
test-bisect3.t
test-blackbox.t
test-bookmarks-current.t
test-bookmarks-merge.t
test-bookmarks-pushpull.t
test-bookmarks-rebase.t
test-bookmarks-strip.t
test-bookmarks.t
test-branch-option.t
test-branch-tag-confict.t
test-branches.t
test-bugzilla.t
test-bundle-phases.t
test-bundle-r.t
test-bundle-type.t
test-bundle-vs-outgoing.t
test-bundle.t
test-bundle2-exchange.t
test-bundle2-format.t
test-bundle2-multiple-changegroups.t
test-bundle2-pushback.t
test-bundle2-remote-changegroup.t
test-cache-abuse.t
test-casecollision-merge.t
test-casecollision.t
test-casefolding.t
test-cat.t
test-censor.t
test-changelog-exec.t
test-check-code.t
test-check-commit.t
test-check-config.t
test-check-execute.t
test-check-help.t
test-check-module-imports.t
test-check-py3-compat.t
test-check-pyflakes.t
test-check-pylint.t
test-check-shbang.t
test-chg.t
test-children.t
test-churn.t
test-clone-cgi.t
test-clone-pull-corruption.t
test-clone-r.t
test-clone-uncompressed.t
test-clone-update-order.t
test-clone.t
test-clonebundles.t
test-command-template.t
test-commandserver.t
test-commit-amend.t
test-commit-interactive-curses.t
test-commit-interactive.t
test-commit-multiple.t
test-commit-unresolved.t
test-commit.t
test-committer.t
test-completion.t
test-config-env.py
test-config-env.py.out
test-config.t
test-conflict.t
test-confused-revert.t
test-context.py
test-context.py.out
test-contrib-check-code.t
test-contrib-check-commit.t
test-contrib-perf.t
test-contrib.t
test-convert-authormap.t
test-convert-baz.t
test-convert-bzr-114.t
test-convert-bzr-directories.t
test-convert-bzr-ghosts.t
test-convert-bzr-merges.t
test-convert-bzr-treeroot.t
test-convert-bzr.t
test-convert-clonebranches.t
test-convert-cvs-branch.t
test-convert-cvs-detectmerge.t
test-convert-cvs-synthetic.t
test-convert-cvs.t
test-convert-cvsnt-mergepoints.rlog
test-convert-cvsnt-mergepoints.t
test-convert-darcs.t
test-convert-datesort.t
test-convert-filemap.t
test-convert-git.t
test-convert-hg-sink.t
test-convert-hg-source.t
test-convert-hg-startrev.t
test-convert-hg-svn.t
test-convert-mtn.t
test-convert-p4-filetypes.t
test-convert-p4.t
test-convert-splicemap.t
test-convert-svn-branches.t
test-convert-svn-encoding.t
test-convert-svn-move.t
test-convert-svn-sink.t
test-convert-svn-source.t
test-convert-svn-startrev.t
test-convert-svn-tags.t
test-convert-tagsbranch-topology.t
test-convert-tla.t
test-convert.t
test-copy-move-merge.t
test-copy.t
test-custom-filters.t
test-debian-packages.t
test-debugbuilddag.t
test-debugbundle.t
test-debugcommands.t
test-debugextensions.t
test-debugindexdot.t
test-debugrename.t
test-default-push.t
To run the tests, do:

cd tests/
python run-tests.py

See https://mercurial-scm.org/wiki/WritingTests for
more information on writing tests.