Mercurial > hg
comparison tests/test-logexchange.t @ 47920:9c4204b7f3e4
tests: rely on dummyssh being the default
This commit is exactly the result of running this command:
sed -i -e 's! *\(-e \|--ssh \|--config ui.ssh=\)[ \"]*$PYTHON[ \"]*$\(RUN\|\)TESTDIR/dummyssh[\"]* *! !g' -e '/^[ >]*ssh *=[ "]*$PYTHON[ "]*$\(RUN\|\)TESTDIR\/dummyssh[ "]*$/d' -e 's/^\( [$] .*[^ ]\) *$/\1/' *.t *.sh
Sometimes the tests can be simplified further, but I think it's
preferable to do the simplification separately.
Differential Revision: https://phab.mercurial-scm.org/D11245
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Mon, 02 Aug 2021 21:25:01 -0400 |
parents | 95c4cca641f6 |
children | 0c92cd9286ee |
comparison
equal
deleted
inserted
replaced
47919:a28a7dcb9158 | 47920:9c4204b7f3e4 |
---|---|
1 Testing the functionality to pull remotenames | 1 Testing the functionality to pull remotenames |
2 ============================================= | 2 ============================================= |
3 | 3 |
4 $ cat >> $HGRCPATH << EOF | 4 $ cat >> $HGRCPATH << EOF |
5 > [ui] | 5 > [ui] |
6 > ssh = "$PYTHON" "$TESTDIR/dummyssh" | |
7 > [alias] | 6 > [alias] |
8 > glog = log -G -T '{rev}:{node|short} {desc}' | 7 > glog = log -G -T '{rev}:{node|short} {desc}' |
9 > [extensions] | 8 > [extensions] |
10 > remotenames = | 9 > remotenames = |
11 > show = | 10 > show = |