# HG changeset patch # User Matt Mackall # Date 1407343439 18000 # Node ID 7a9cbb315d8464b097c5a557d6482f7b261a4755 # Parent 769198c6a62d1a829b62101094326d8b1bffea41 tests: replace exit 80 with #require diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-archive-symlinks.t --- a/tests/test-archive-symlinks.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-archive-symlinks.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" symlink || exit 80 +#require symlink $ origdir=`pwd` diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-archive.t --- a/tests/test-archive.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-archive.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-bad-pull.t --- a/tests/test-bad-pull.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-bad-pull.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve #if windows $ hg clone http://localhost:$HGPORT/ copy diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-bookmarks-pushpull.t --- a/tests/test-bookmarks-pushpull.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-bookmarks-pushpull.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ cat << EOF >> $HGRCPATH > [ui] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-casecollision-merge.t --- a/tests/test-casecollision-merge.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-casecollision-merge.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,4 @@ -run only on case-insensitive filesystems - - $ "$TESTDIR/hghave" icasefs || exit 80 +#require icasefs ################################ test for branch merging diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-casecollision.t --- a/tests/test-casecollision.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-casecollision.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,4 @@ -run only on case-sensitive filesystems - - $ "$TESTDIR/hghave" no-icasefs || exit 80 +#require no-icasefs test file addition with colliding case diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-casefolding.t --- a/tests/test-casefolding.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-casefolding.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" icasefs || exit 80 +#require icasefs $ hg debugfs | grep 'case-sensitive:' case-sensitive: no diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-changelog-exec.t --- a/tests/test-changelog-exec.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-changelog-exec.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,9 +1,9 @@ +#require execbit + b51a8138292a introduced a regression where we would mention in the changelog executable files added by the second parent of a merge. Test that that doesn't happen anymore - $ "$TESTDIR/hghave" execbit || exit 80 - $ hg init repo $ cd repo $ echo foo > foo diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-clone-cgi.t --- a/tests/test-clone-cgi.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-clone-cgi.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths +#require no-msys # MSYS will translate web paths as if they were file paths This is a test of the wire protocol over CGI-based hgweb. initialize repository diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-baz.t --- a/tests/test-convert-baz.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-baz.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" baz symlink || exit 80 +#require baz symlink $ baz my-id "mercurial " diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-bzr-114.t --- a/tests/test-convert-bzr-114.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-bzr-114.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require bzr114 - $ "$TESTDIR/hghave" bzr114 || exit 80 $ . "$TESTDIR/bzr-definitions" The file/directory replacement can only be reproduced on diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-cvs-branch.t --- a/tests/test-convert-cvs-branch.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-cvs-branch.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,7 +1,8 @@ +#require cvs + This is http://mercurial.selenic.com/bts/issue1148 and http://mercurial.selenic.com/bts/issue1447 - $ "$TESTDIR/hghave" cvs || exit 80 $ cvscall() > { > cvs -f "$@" > /dev/null diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-cvs-detectmerge.t --- a/tests/test-convert-cvs-detectmerge.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-cvs-detectmerge.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,8 +1,9 @@ +#require cvs + Test config convert.cvsps.mergefrom config setting. (Should test similar mergeto feature, but I don't understand it yet.) Requires builtin cvsps. - $ "$TESTDIR/hghave" cvs || exit 80 $ CVSROOT=`pwd`/cvsrepo $ export CVSROOT diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-cvs-synthetic.t --- a/tests/test-convert-cvs-synthetic.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-cvs-synthetic.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,7 @@ +#require cvs112 + This feature requires use of builtin cvsps! - $ "$TESTDIR/hghave" cvs112 || exit 80 $ echo "[extensions]" >> $HGRCPATH $ echo "convert = " >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-cvs.t --- a/tests/test-convert-cvs.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-cvs.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require cvs - $ "$TESTDIR/hghave" cvs || exit 80 $ cvscall() > { > cvs -f "$@" diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-cvsnt-mergepoints.t --- a/tests/test-convert-cvsnt-mergepoints.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-cvsnt-mergepoints.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require cvs - $ "$TESTDIR/hghave" cvs || exit 80 $ filterpath() > { > eval "$@" | sed "s:$CVSROOT:*REPO*:g" diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-darcs.t --- a/tests/test-convert-darcs.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-darcs.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require darcs - $ "$TESTDIR/hghave" darcs || exit 80 $ echo "[extensions]" >> $HGRCPATH $ echo "convert=" >> $HGRCPATH $ DARCS_EMAIL='test@example.org'; export DARCS_EMAIL diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-git.t --- a/tests/test-convert-git.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-git.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require git - $ "$TESTDIR/hghave" git || exit 80 $ echo "[core]" >> $HOME/.gitconfig $ echo "autocrlf = false" >> $HOME/.gitconfig $ echo "[core]" >> $HOME/.gitconfig diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-hg-svn.t --- a/tests/test-convert-hg-svn.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-hg-svn.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require svn svn-bindings - $ "$TESTDIR/hghave" svn svn-bindings || exit 80 $ echo "[extensions]" >> $HGRCPATH $ echo "convert = " >> $HGRCPATH $ echo "mq = " >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-mtn.t --- a/tests/test-convert-mtn.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-mtn.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,4 @@ - - $ "$TESTDIR/hghave" mtn || exit 80 +#require mtn Monotone directory is called .monotone on *nix and monotone on Windows. diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-p4-filetypes.t --- a/tests/test-convert-p4-filetypes.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-p4-filetypes.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" p4 execbit symlink || exit 80 +#require p4 execbit symlink $ echo "[extensions]" >> $HGRCPATH $ echo "convert = " >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-p4.t --- a/tests/test-convert-p4.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-p4.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" p4 || exit 80 +#require p4 $ echo "[extensions]" >> $HGRCPATH $ echo "convert = " >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-svn-branches.t --- a/tests/test-convert-svn-branches.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-svn-branches.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,4 @@ - - $ "$TESTDIR/hghave" svn svn-bindings || exit 80 +#require svn svn-bindings $ cat >> $HGRCPATH < [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-svn-encoding.t --- a/tests/test-convert-svn-encoding.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-svn-encoding.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,4 @@ - - $ "$TESTDIR/hghave" svn svn-bindings || exit 80 +#require svn svn-bindings $ cat >> $HGRCPATH < [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-svn-move.t --- a/tests/test-convert-svn-move.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-svn-move.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,4 @@ - - $ "$TESTDIR/hghave" svn svn-bindings || exit 80 +#require svn svn-bindings $ cat >> $HGRCPATH < [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-svn-sink.t --- a/tests/test-convert-svn-sink.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-svn-sink.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" svn13 || exit 80 +#require svn13 $ svnupanddisplay() > { diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-svn-source.t --- a/tests/test-convert-svn-source.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-svn-source.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,4 @@ - - $ "$TESTDIR/hghave" svn svn-bindings || exit 80 +#require svn svn-bindings $ cat >> $HGRCPATH < [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-svn-startrev.t --- a/tests/test-convert-svn-startrev.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-svn-startrev.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,4 @@ - - $ "$TESTDIR/hghave" svn svn-bindings || exit 80 +#require svn svn-bindings $ cat >> $HGRCPATH < [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-svn-tags.t --- a/tests/test-convert-svn-tags.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-svn-tags.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,4 @@ - - $ "$TESTDIR/hghave" svn svn-bindings || exit 80 +#require svn svn-bindings $ cat >> $HGRCPATH < [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-tagsbranch-topology.t --- a/tests/test-convert-tagsbranch-topology.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-tagsbranch-topology.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require git - $ "$TESTDIR/hghave" git || exit 80 $ echo "[core]" >> $HOME/.gitconfig $ echo "autocrlf = false" >> $HOME/.gitconfig $ echo "[core]" >> $HOME/.gitconfig diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-convert-tla.t --- a/tests/test-convert-tla.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-convert-tla.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require tla symlink - $ "$TESTDIR/hghave" tla symlink || exit 80 $ tla my-id "mercurial " $ echo "[extensions]" >> $HGRCPATH $ echo "convert=" >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-diff-upgrade.t --- a/tests/test-diff-upgrade.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-diff-upgrade.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" execbit || exit 80 +#require execbit $ echo "[extensions]" >> $HGRCPATH $ echo "autodiff=$TESTDIR/autodiff.py" >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-eolfilename.t --- a/tests/test-eolfilename.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-eolfilename.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,6 @@ -http://mercurial.selenic.com/bts/issue352 +#require eol-in-paths - $ "$TESTDIR/hghave" eol-in-paths || exit 80 +http://mercurial.selenic.com/bts/issue352 test issue352 diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-execute-bit.t --- a/tests/test-execute-bit.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-execute-bit.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" execbit || exit 80 +#require execbit $ hg init $ echo a > a diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-fetch.t --- a/tests/test-fetch.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-fetch.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ echo "[extensions]" >> $HGRCPATH $ echo "fetch=" >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-flags.t --- a/tests/test-flags.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-flags.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" execbit || exit 80 +#require execbit $ umask 027 diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-gendoc.t --- a/tests/test-gendoc.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-gendoc.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,7 @@ +#require docutils + Test document extraction - $ "$TESTDIR/hghave" docutils || exit 80 $ HGENCODING=UTF-8 $ export HGENCODING $ { echo C; ls "$TESTDIR/../i18n"/*.po | sort; } | while read PO; do diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-getbundle.t --- a/tests/test-getbundle.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-getbundle.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve = Test the getbundle() protocol function = diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-gpg.t --- a/tests/test-gpg.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-gpg.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,7 @@ +#require gpg + Test the GPG extension - $ "$TESTDIR/hghave" gpg || exit 80 $ cat <> $HGRCPATH > [extensions] > gpg= diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hardlinks.t --- a/tests/test-hardlinks.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hardlinks.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" hardlink || exit 80 +#require hardlink $ cat > nlinks.py < import sys diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb-commands.t --- a/tests/test-hgweb-commands.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb-commands.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve An attempt at more fully testing the hgweb web interface. The following things are tested elsewhere and are therefore omitted: diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb-descend-empties.t --- a/tests/test-hgweb-descend-empties.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb-descend-empties.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve Test chains of near empty directories, terminating 3 different ways: - a1: file at level 4 (deepest) diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb-diffs.t --- a/tests/test-hgweb-diffs.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb-diffs.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve setting up repo diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb-empty.t --- a/tests/test-hgweb-empty.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb-empty.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve Some tests for hgweb in an empty repository diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb-filelog.t --- a/tests/test-hgweb-filelog.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb-filelog.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb-raw.t --- a/tests/test-hgweb-raw.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb-raw.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve Test raw style of hgweb diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb-removed.t --- a/tests/test-hgweb-removed.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb-removed.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve setting up repo diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgweb.t --- a/tests/test-hgweb.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgweb.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve Some tests for hgweb. Tests static files, plain files and different 404's. diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgwebdir.t --- a/tests/test-hgwebdir.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgwebdir.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve hide outer repo and work in dir without '.hg' $ hg init diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hgwebdirsym.t --- a/tests/test-hgwebdirsym.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hgwebdirsym.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,6 @@ -Tests whether or not hgwebdir properly handles various symlink topologies. +#require serve symlink - $ "$TESTDIR/hghave" serve symlink || exit 80 +Tests whether or not hgwebdir properly handles various symlink topologies. hide outer repo $ hg init diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-highlight.t --- a/tests/test-highlight.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-highlight.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,5 +1,5 @@ +#require pygments serve - $ "$TESTDIR/hghave" pygments serve || exit 80 $ cat <> $HGRCPATH > [extensions] > highlight = diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-http-branchmap.t --- a/tests/test-http-branchmap.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-http-branchmap.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons $ hgserve() { > hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid \ diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-http-clone-r.t --- a/tests/test-http-clone-r.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-http-clone-r.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve creating 'remote diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-http-proxy.t --- a/tests/test-http-proxy.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-http-proxy.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hg init a $ cd a diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-http.t --- a/tests/test-http.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-http.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-https.t --- a/tests/test-https.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-https.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,6 @@ -Proper https client requires the built-in ssl from Python 2.6. +#require serve ssl - $ "$TESTDIR/hghave" serve ssl || exit 80 +Proper https client requires the built-in ssl from Python 2.6. Certificates created with: printf '.\n.\n.\n.\n.\nlocalhost\nhg@localhost\n' | \ diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-hup.t --- a/tests/test-hup.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-hup.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,7 @@ +#require serve fifo + Test hangup signal in the middle of transaction - $ "$TESTDIR/hghave" serve fifo || exit 80 $ hg init $ mkfifo p $ hg serve --stdio < p 1>out 2>&1 & diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-i18n.t --- a/tests/test-i18n.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-i18n.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,6 @@ -Translations are optional: +#require gettext - $ "$TESTDIR/hghave" gettext || exit 80 +(Translations are optional) #if no-outer-repo diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-identify.t --- a/tests/test-identify.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-identify.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve #if no-outer-repo diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-incoming-outgoing.t --- a/tests/test-incoming-outgoing.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-incoming-outgoing.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-inherit-mode.t --- a/tests/test-inherit-mode.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-inherit-mode.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,7 +1,6 @@ -test that new files created in .hg inherit the permissions from .hg/store +#require unix-permissions - - $ "$TESTDIR/hghave" unix-permissions || exit 80 +test that new files created in .hg inherit the permissions from .hg/store $ mkdir dir diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-issue1438.t --- a/tests/test-issue1438.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-issue1438.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,6 +1,6 @@ -http://mercurial.selenic.com/bts/issue1438 +#require symlink - $ "$TESTDIR/hghave" symlink || exit 80 +http://mercurial.selenic.com/bts/issue1438 $ hg init diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-issue1802.t --- a/tests/test-issue1802.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-issue1802.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" execbit || exit 80 +#require execbit Create extension that can disable exec checks: diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-known.t --- a/tests/test-known.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-known.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons = Test the known() protocol function = diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-merge-types.t --- a/tests/test-merge-types.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-merge-types.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" symlink execbit || exit 80 +#require symlink execbit $ tellmeabout() { > if [ -h $1 ]; then diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-mq-qclone-http.t --- a/tests/test-mq-qclone-http.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-mq-qclone-http.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons hide outer repo $ hg init diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-mq-qimport.t --- a/tests/test-mq-qimport.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-mq-qimport.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons $ cat > writelines.py < import sys diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-mq-subrepo-svn.t --- a/tests/test-mq-subrepo-svn.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-mq-subrepo-svn.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" svn13 || exit 80 +#require svn13 $ echo "[extensions]" >> $HGRCPATH $ echo "mq=" >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-mq-symlinks.t --- a/tests/test-mq-symlinks.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-mq-symlinks.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" symlink || exit 80 +#require symlink $ echo "[extensions]" >> $HGRCPATH $ echo "mq=" >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-newcgi.t --- a/tests/test-newcgi.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-newcgi.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths +#require no-msys # MSYS will translate web paths as if they were file paths This tests if CGI files from after d0db3462d568 but before d74fc8dec2b4 still work. diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-newercgi.t --- a/tests/test-newercgi.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-newercgi.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths +#require no-msys # MSYS will translate web paths as if they were file paths This is a rudimentary test of the CGI files as of d74fc8dec2b4. diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-no-symlinks.t --- a/tests/test-no-symlinks.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-no-symlinks.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" no-symlink || exit 80 +#require no-symlink # The following script was used to create the bundle: # diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-oldcgi.t --- a/tests/test-oldcgi.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-oldcgi.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths +#require no-msys # MSYS will translate web paths as if they were file paths This tests if CGI files from before d0db3462d568 still work. diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-phases-exchange.t --- a/tests/test-phases-exchange.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-phases-exchange.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons $ hgph() { hg log -G --template "{rev} {phase} {desc} - {node|short}\n" $*; } diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-pull-http.t --- a/tests/test-pull-http.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-pull-http.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-pull.t --- a/tests/test-pull.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-pull.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-push-cgi.t --- a/tests/test-push-cgi.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-push-cgi.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" no-msys || exit 80 # MSYS will translate web paths as if they were file paths +#require no-msys # MSYS will translate web paths as if they were file paths This is a test of the push wire protocol over CGI-based hgweb. diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-push-http.t --- a/tests/test-push-http.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-push-http.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-relink.t --- a/tests/test-relink.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-relink.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" hardlink || exit 80 +#require hardlink $ echo "[extensions]" >> $HGRCPATH $ echo "relink=" >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-revert-flags.t --- a/tests/test-revert-flags.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-revert-flags.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" execbit || exit 80 +#require execbit $ hg init repo $ cd repo diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-schemes.t --- a/tests/test-schemes.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-schemes.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ cat <> $HGRCPATH > [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-serve.t --- a/tests/test-serve.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-serve.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hgserve() > { diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-share.t --- a/tests/test-share.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-share.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons $ echo "[extensions]" >> $HGRCPATH $ echo "share = " >> $HGRCPATH diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-static-http.t --- a/tests/test-static-http.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-static-http.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons #if windows $ hg clone http://localhost:$HGPORT/ copy diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-subrepo-git.t --- a/tests/test-subrepo-git.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-subrepo-git.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" git || exit 80 +#require git make git commits repeatable diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-subrepo-relative-path.t --- a/tests/test-subrepo-relative-path.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-subrepo-relative-path.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons Preparing the subrepository 'sub' diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-subrepo-svn.t --- a/tests/test-subrepo-svn.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-subrepo-svn.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" svn15 || exit 80 +#require svn15 $ SVNREPOPATH=`pwd`/svn-repo #if windows diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-symlink-placeholder.t --- a/tests/test-symlink-placeholder.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-symlink-placeholder.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" symlink || exit 80 +#require symlink Create extension that can disable symlink support: diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-symlinks.t --- a/tests/test-symlinks.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-symlinks.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" symlink || exit 80 +#require symlink == tests added in 0.7 == diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-transplant.t --- a/tests/test-transplant.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-transplant.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons $ cat <> $HGRCPATH > [extensions] diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-treediscovery-legacy.t --- a/tests/test-treediscovery-legacy.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-treediscovery-legacy.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons Tests discovery against servers without getbundle support: diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-treediscovery.t --- a/tests/test-treediscovery.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-treediscovery.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons Tests discovery against servers without getbundle support: diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-unbundlehash.t --- a/tests/test-unbundlehash.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-unbundlehash.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons Test wire protocol unbundle with hashed heads (capability: unbundlehash) diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-update-issue1456.t --- a/tests/test-update-issue1456.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-update-issue1456.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" execbit || exit 80 +#require execbit $ rm -rf a $ hg init a diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-websub.t --- a/tests/test-websub.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-websub.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" serve || exit 80 +#require serve $ hg init test $ cd test diff -r 769198c6a62d -r 7a9cbb315d84 tests/test-wireproto.t --- a/tests/test-wireproto.t Wed Aug 06 10:34:54 2014 -0500 +++ b/tests/test-wireproto.t Wed Aug 06 11:43:59 2014 -0500 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" killdaemons || exit 80 +#require killdaemons Test wire protocol argument passing