Mercurial > hg
comparison tests/test-bookmarks-pushpull.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 | 3f87d2af0bd6 |
children | 0c92cd9286ee |
comparison
equal
deleted
inserted
replaced
47919:a28a7dcb9158 | 47920:9c4204b7f3e4 |
---|---|
1141 > [paths] | 1141 > [paths] |
1142 > local=../issue4455-dest/ | 1142 > local=../issue4455-dest/ |
1143 > ssh=ssh://user@dummy/issue4455-dest | 1143 > ssh=ssh://user@dummy/issue4455-dest |
1144 > http=http://localhost:$HGPORT/ | 1144 > http=http://localhost:$HGPORT/ |
1145 > [ui] | 1145 > [ui] |
1146 > ssh="$PYTHON" "$TESTDIR/dummyssh" | |
1147 > EOF | 1146 > EOF |
1148 $ cat >> ../issue4455-dest/.hg/hgrc << EOF | 1147 $ cat >> ../issue4455-dest/.hg/hgrc << EOF |
1149 > [hooks] | 1148 > [hooks] |
1150 > prepushkey=false | 1149 > prepushkey=false |
1151 > [web] | 1150 > [web] |
1268 | 1267 |
1269 Test that pre-pushkey compat for bookmark works as expected (issue5777) | 1268 Test that pre-pushkey compat for bookmark works as expected (issue5777) |
1270 | 1269 |
1271 $ cat << EOF >> $HGRCPATH | 1270 $ cat << EOF >> $HGRCPATH |
1272 > [ui] | 1271 > [ui] |
1273 > ssh="$PYTHON" "$TESTDIR/dummyssh" | |
1274 > [server] | 1272 > [server] |
1275 > bookmarks-pushkey-compat = yes | 1273 > bookmarks-pushkey-compat = yes |
1276 > EOF | 1274 > EOF |
1277 | 1275 |
1278 $ hg init server | 1276 $ hg init server |