comparison tests/test-infinitepush-ci.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 1d075b857c90
children 0c92cd9286ee
comparison
equal deleted inserted replaced
47919:a28a7dcb9158 47920:9c4204b7f3e4
8 ----- 8 -----
9 9
10 $ . "$TESTDIR/library-infinitepush.sh" 10 $ . "$TESTDIR/library-infinitepush.sh"
11 $ cat >> $HGRCPATH <<EOF 11 $ cat >> $HGRCPATH <<EOF
12 > [ui] 12 > [ui]
13 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
14 > [alias] 13 > [alias]
15 > glog = log -GT "{rev}:{node|short} {desc}\n{phase}" 14 > glog = log -GT "{rev}:{node|short} {desc}\n{phase}"
16 > EOF 15 > EOF
17 $ cp $HGRCPATH $TESTTMP/defaulthgrc 16 $ cp $HGRCPATH $TESTTMP/defaulthgrc
18 $ hg init repo 17 $ hg init repo