##// END OF EJS Templates
tests: rely on dummyssh being the default...
Valentin Gatien-Baron -
r48732:9c4204b7 default
parent child Browse files
Show More
@@ -15,7 +15,6 b' setupcommon() {'
15 [extensions]
15 [extensions]
16 infinitepush=
16 infinitepush=
17 [ui]
17 [ui]
18 ssh = "$PYTHON" "$TESTDIR/dummyssh"
19 [infinitepush]
18 [infinitepush]
20 branchpattern=re:scratch/.*
19 branchpattern=re:scratch/.*
21 EOF
20 EOF
@@ -2,7 +2,6 b' cat >> $HGRCPATH <<EOF'
2 [extensions]
2 [extensions]
3 narrow=
3 narrow=
4 [ui]
4 [ui]
5 ssh="$PYTHON" "$RUNTESTDIR/dummyssh"
6 [experimental]
5 [experimental]
7 changegroup3 = True
6 changegroup3 = True
8 EOF
7 EOF
@@ -8,7 +8,6 b' remotefilelog='
8 rebase=
8 rebase=
9 strip=
9 strip=
10 [ui]
10 [ui]
11 ssh="$PYTHON" "$TESTDIR/dummyssh"
12 [server]
11 [server]
13 preferuncompressed=True
12 preferuncompressed=True
14 [experimental]
13 [experimental]
@@ -17,7 +17,6 b' global setup'
17
17
18 $ cat >> $HGRCPATH << EOF
18 $ cat >> $HGRCPATH << EOF
19 > [ui]
19 > [ui]
20 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
21 > [server]
20 > [server]
22 > concurrent-push-mode=check-related
21 > concurrent-push-mode=check-related
23 > EOF
22 > EOF
@@ -1143,7 +1143,6 b' Check hook preventing push (issue4455)'
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]
@@ -1270,7 +1269,6 b' Test that pre-pushkey compat for bookmar'
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
@@ -29,7 +29,6 b' enable obsolescence'
29 > evolution.exchange=True
29 > evolution.exchange=True
30 > bundle2-output-capture=True
30 > bundle2-output-capture=True
31 > [ui]
31 > [ui]
32 > ssh="$PYTHON" "$TESTDIR/dummyssh"
33 > [command-templates]
32 > [command-templates]
34 > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
33 > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
35 > [web]
34 > [web]
@@ -924,7 +923,6 b' Test lazily acquiring the lock during un'
924 $ cp $TESTTMP/hgrc.orig $HGRCPATH
923 $ cp $TESTTMP/hgrc.orig $HGRCPATH
925 $ cat >> $HGRCPATH <<EOF
924 $ cat >> $HGRCPATH <<EOF
926 > [ui]
925 > [ui]
927 > ssh="$PYTHON" "$TESTDIR/dummyssh"
928 > EOF
926 > EOF
929
927
930 $ cat >> $TESTTMP/locktester.py <<EOF
928 $ cat >> $TESTTMP/locktester.py <<EOF
@@ -234,7 +234,6 b' Create an extension to test bundle2 API'
234 > [experimental]
234 > [experimental]
235 > evolution.createmarkers=True
235 > evolution.createmarkers=True
236 > [ui]
236 > [ui]
237 > ssh="$PYTHON" "$TESTDIR/dummyssh"
238 > [command-templates]
237 > [command-templates]
239 > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
238 > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
240 > [web]
239 > [web]
@@ -37,7 +37,6 b''
37
37
38 $ cat >> $HGRCPATH <<EOF
38 $ cat >> $HGRCPATH <<EOF
39 > [ui]
39 > [ui]
40 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
41 > username = nobody <no.reply@example.com>
40 > username = nobody <no.reply@example.com>
42 >
41 >
43 > [alias]
42 > [alias]
@@ -95,7 +95,6 b' Start a simple HTTP server to serve bund'
95
95
96 $ cat >> $HGRCPATH << EOF
96 $ cat >> $HGRCPATH << EOF
97 > [ui]
97 > [ui]
98 > ssh="$PYTHON" "$TESTDIR/dummyssh"
99 > [command-templates]
98 > [command-templates]
100 > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
99 > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
101 > EOF
100 > EOF
@@ -1125,7 +1125,7 b" Test that auto sharing doesn't cause fai"
1125 $ hg id -R remote -r 0
1125 $ hg id -R remote -r 0
1126 abort: repository remote not found
1126 abort: repository remote not found
1127 [255]
1127 [255]
1128 $ hg --config share.pool=share -q clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" a ssh://user@dummy/remote
1128 $ hg --config share.pool=share -q clone a ssh://user@dummy/remote
1129 $ hg -R remote id -r 0
1129 $ hg -R remote id -r 0
1130 acb14030fe0a
1130 acb14030fe0a
1131
1131
@@ -208,7 +208,7 b' by old clients.'
208
208
209 Feature works over SSH
209 Feature works over SSH
210
210
211 $ hg clone -U -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/server ssh-full-clone
211 $ hg clone -U ssh://user@dummy/server ssh-full-clone
212 applying clone bundle from http://localhost:$HGPORT1/full.hg
212 applying clone bundle from http://localhost:$HGPORT1/full.hg
213 adding changesets
213 adding changesets
214 adding manifests
214 adding manifests
@@ -644,12 +644,12 b' Test debugcapabilities command:'
644
644
645 Test debugpeer
645 Test debugpeer
646
646
647 $ hg --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" debugpeer ssh://user@dummy/debugrevlog
647 $ hg debugpeer ssh://user@dummy/debugrevlog
648 url: ssh://user@dummy/debugrevlog
648 url: ssh://user@dummy/debugrevlog
649 local: no
649 local: no
650 pushable: yes
650 pushable: yes
651
651
652 $ hg --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" --debug debugpeer ssh://user@dummy/debugrevlog
652 $ hg --debug debugpeer ssh://user@dummy/debugrevlog
653 running "*" "*/tests/dummyssh" 'user@dummy' 'hg -R debugrevlog serve --stdio' (glob) (no-windows !)
653 running "*" "*/tests/dummyssh" 'user@dummy' 'hg -R debugrevlog serve --stdio' (glob) (no-windows !)
654 running "*" "*\tests/dummyssh" "user@dummy" "hg -R debugrevlog serve --stdio" (glob) (windows !)
654 running "*" "*\tests/dummyssh" "user@dummy" "hg -R debugrevlog serve --stdio" (glob) (windows !)
655 devel-peer-request: hello+between
655 devel-peer-request: hello+between
@@ -1,6 +1,5 b''
1 $ cat >> $HGRCPATH << EOF
1 $ cat >> $HGRCPATH << EOF
2 > [ui]
2 > [ui]
3 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
4 > [extensions]
3 > [extensions]
5 > fastannotate=
4 > fastannotate=
6 > [fastannotate]
5 > [fastannotate]
@@ -10,7 +10,6 b' Setup'
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
@@ -123,7 +123,7 b' test failure'
123
123
124 init+push to remote2
124 init+push to remote2
125
125
126 $ hg init -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2
126 $ hg init ssh://user@dummy/remote2
127 $ hg incoming -R remote2 local
127 $ hg incoming -R remote2 local
128 comparing with local
128 comparing with local
129 changeset: 0:08b9e9f63b32
129 changeset: 0:08b9e9f63b32
@@ -133,7 +133,7 b' init+push to remote2'
133 summary: init
133 summary: init
134
134
135
135
136 $ hg push -R local -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2
136 $ hg push -R local ssh://user@dummy/remote2
137 pushing to ssh://user@dummy/remote2
137 pushing to ssh://user@dummy/remote2
138 searching for changes
138 searching for changes
139 remote: adding changesets
139 remote: adding changesets
@@ -143,7 +143,7 b' init+push to remote2'
143
143
144 clone to remote1
144 clone to remote1
145
145
146 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1
146 $ hg clone local ssh://user@dummy/remote1
147 searching for changes
147 searching for changes
148 remote: adding changesets
148 remote: adding changesets
149 remote: adding manifests
149 remote: adding manifests
@@ -151,7 +151,7 b' clone to remote1'
151 remote: added 1 changesets with 1 changes to 1 files
151 remote: added 1 changesets with 1 changes to 1 files
152
152
153 The largefiles extension doesn't crash
153 The largefiles extension doesn't crash
154 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remotelf --config extensions.largefiles=
154 $ hg clone local ssh://user@dummy/remotelf --config extensions.largefiles=
155 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
155 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
156 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
156 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
157 searching for changes
157 searching for changes
@@ -162,14 +162,14 b" The largefiles extension doesn't crash"
162
162
163 init to existing repo
163 init to existing repo
164
164
165 $ hg init -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote1
165 $ hg init ssh://user@dummy/remote1
166 abort: repository remote1 already exists
166 abort: repository remote1 already exists
167 abort: could not create remote repo
167 abort: could not create remote repo
168 [255]
168 [255]
169
169
170 clone to existing repo
170 clone to existing repo
171
171
172 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1
172 $ hg clone local ssh://user@dummy/remote1
173 abort: repository remote1 already exists
173 abort: repository remote1 already exists
174 abort: could not create remote repo
174 abort: could not create remote repo
175 [255]
175 [255]
@@ -283,7 +283,7 b' clone bookmarks'
283 $ hg -R local bookmark test
283 $ hg -R local bookmark test
284 $ hg -R local bookmarks
284 $ hg -R local bookmarks
285 * test 0:08b9e9f63b32
285 * test 0:08b9e9f63b32
286 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote-bookmarks
286 $ hg clone local ssh://user@dummy/remote-bookmarks
287 searching for changes
287 searching for changes
288 remote: adding changesets
288 remote: adding changesets
289 remote: adding manifests
289 remote: adding manifests
@@ -124,7 +124,7 b' used all HGPORTs, kill all daemons'
124 #endif
124 #endif
125
125
126 vanilla clients locked out from largefiles ssh repos
126 vanilla clients locked out from largefiles ssh repos
127 $ hg --config extensions.largefiles=! clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/r4 r5
127 $ hg --config extensions.largefiles=! clone ssh://user@dummy/r4 r5
128 remote:
128 remote:
129 remote: This repository uses the largefiles extension.
129 remote: This repository uses the largefiles extension.
130 remote:
130 remote:
@@ -2516,10 +2516,10 b' New namespace is registered per repo ins'
2516 is global. So we shouldn't expect the namespace always exists. Using
2516 is global. So we shouldn't expect the namespace always exists. Using
2517 ssh:// makes sure a bundle repository is created from scratch. (issue6301)
2517 ssh:// makes sure a bundle repository is created from scratch. (issue6301)
2518
2518
2519 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" \
2519 $ hg clone \
2520 > -qr0 "ssh://user@dummy/`pwd`/a" a-clone
2520 > -qr0 "ssh://user@dummy/`pwd`/a" a-clone
2521 $ hg incoming --config extensions.names=names.py -R a-clone \
2521 $ hg incoming --config extensions.names=names.py -R a-clone \
2522 > -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" -T '{bars}\n' -l1
2522 > -T '{bars}\n' -l1
2523 comparing with ssh://user@dummy/$TESTTMP/a
2523 comparing with ssh://user@dummy/$TESTTMP/a
2524 searching for changes
2524 searching for changes
2525
2525
@@ -3,7 +3,6 b' Testing the functionality to pull remote'
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]
@@ -26,7 +26,6 b" some capability (because it's running an"
26 > EOF
26 > EOF
27 $ cat >> .hg/hgrc <<EOF
27 $ cat >> .hg/hgrc <<EOF
28 > [ui]
28 > [ui]
29 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
30 > EOF
29 > EOF
31
30
32 $ hg pull ssh://user@dummy/repo1 -r tip -B a
31 $ hg pull ssh://user@dummy/repo1 -r tip -B a
@@ -868,7 +868,7 b' Simple case'
868
868
869 No race condition
869 No race condition
870
870
871 $ hg clone -U --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/test-repo stream-clone --debug | egrep '00(changelog|manifest)'
871 $ hg clone -U --stream ssh://user@dummy/test-repo stream-clone --debug | egrep '00(changelog|manifest)'
872 adding [s] 00manifest.n (62 bytes)
872 adding [s] 00manifest.n (62 bytes)
873 adding [s] 00manifest-*.nd (118 KB) (glob)
873 adding [s] 00manifest-*.nd (118 KB) (glob)
874 adding [s] 00changelog.n (62 bytes)
874 adding [s] 00changelog.n (62 bytes)
@@ -933,7 +933,7 b' Prepare a commit'
933
933
934 Do a mix of clone and commit at the same time so that the file listed on disk differ at actual transfer time.
934 Do a mix of clone and commit at the same time so that the file listed on disk differ at actual transfer time.
935
935
936 $ (hg clone -U --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/test-repo stream-clone-race-1 --debug 2>> clone-output | egrep '00(changelog|manifest)' >> clone-output; touch $HG_TEST_STREAM_WALKED_FILE_3) &
936 $ (hg clone -U --stream ssh://user@dummy/test-repo stream-clone-race-1 --debug 2>> clone-output | egrep '00(changelog|manifest)' >> clone-output; touch $HG_TEST_STREAM_WALKED_FILE_3) &
937 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_1
937 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_1
938 $ hg -R test-repo/ commit -m foo
938 $ hg -R test-repo/ commit -m foo
939 $ touch $HG_TEST_STREAM_WALKED_FILE_2
939 $ touch $HG_TEST_STREAM_WALKED_FILE_2
@@ -1030,7 +1030,7 b' Check the initial state'
1030 Performe the mix of clone and full refresh of the nodemap, so that the files
1030 Performe the mix of clone and full refresh of the nodemap, so that the files
1031 (and filenames) are different between listing time and actual transfer time.
1031 (and filenames) are different between listing time and actual transfer time.
1032
1032
1033 $ (hg clone -U --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/test-repo stream-clone-race-2 --debug 2>> clone-output-2 | egrep '00(changelog|manifest)' >> clone-output-2; touch $HG_TEST_STREAM_WALKED_FILE_3) &
1033 $ (hg clone -U --stream ssh://user@dummy/test-repo stream-clone-race-2 --debug 2>> clone-output-2 | egrep '00(changelog|manifest)' >> clone-output-2; touch $HG_TEST_STREAM_WALKED_FILE_3) &
1034 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_1
1034 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_1
1035 $ rm test-repo/.hg/store/00changelog.n
1035 $ rm test-repo/.hg/store/00changelog.n
1036 $ rm test-repo/.hg/store/00changelog-*.nd
1036 $ rm test-repo/.hg/store/00changelog-*.nd
@@ -102,7 +102,6 b' A set of extension and shell functions e'
102
102
103 $ cat >> $HGRCPATH << EOF
103 $ cat >> $HGRCPATH << EOF
104 > [ui]
104 > [ui]
105 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
106 > # simplify output
105 > # simplify output
107 > logtemplate = {node|short} {desc} ({branch})
106 > logtemplate = {node|short} {desc} ({branch})
108 > [phases]
107 > [phases]
@@ -160,7 +160,7 b' hg serve shared clone'
160 Cloning a shared repo via bundle2 results in a non-shared clone
160 Cloning a shared repo via bundle2 results in a non-shared clone
161
161
162 $ cd ..
162 $ cd ..
163 $ hg clone -q --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2
163 $ hg clone -q --stream ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2
164 $ cat ./cloned-via-bundle2/.hg/requires | grep "shared"
164 $ cat ./cloned-via-bundle2/.hg/requires | grep "shared"
165 [1]
165 [1]
166 $ hg id --cwd cloned-via-bundle2 -r tip
166 $ hg id --cwd cloned-via-bundle2 -r tip
@@ -2,7 +2,6 b' test sparse'
2
2
3 $ cat >> $HGRCPATH << EOF
3 $ cat >> $HGRCPATH << EOF
4 > [ui]
4 > [ui]
5 > ssh = "$PYTHON" "$RUNTESTDIR/dummyssh"
6 > username = nobody <no.reply@fb.com>
5 > username = nobody <no.reply@fb.com>
7 > [extensions]
6 > [extensions]
8 > sparse=
7 > sparse=
@@ -9,7 +9,7 b' Checking that when lookup multiple bookm'
9 fails (thus causing the sshpeer to be stopped), the errors from the
9 fails (thus causing the sshpeer to be stopped), the errors from the
10 further lookups don't result in tracebacks.
10 further lookups don't result in tracebacks.
11
11
12 $ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/$(pwd)/../a
12 $ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) ssh://user@dummy/$(pwd)/../a
13 pulling from ssh://user@dummy/$TESTTMP/b/../a
13 pulling from ssh://user@dummy/$TESTTMP/b/../a
14 abort: unknown revision 'nosuchbookmark'
14 abort: unknown revision 'nosuchbookmark'
15 [255]
15 [255]
@@ -52,7 +52,7 b' configure for serving'
52
52
53 repo not found error
53 repo not found error
54
54
55 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
55 $ hg clone ssh://user@dummy/nonexistent local
56 remote: abort: repository nonexistent not found
56 remote: abort: repository nonexistent not found
57 abort: no suitable response from remote hg
57 abort: no suitable response from remote hg
58 [255]
58 [255]
@@ -60,7 +60,7 b' repo not found error'
60 non-existent absolute path
60 non-existent absolute path
61
61
62 #if no-msys
62 #if no-msys
63 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local
63 $ hg clone ssh://user@dummy//`pwd`/nonexistent local
64 remote: abort: repository /$TESTTMP/nonexistent not found
64 remote: abort: repository /$TESTTMP/nonexistent not found
65 abort: no suitable response from remote hg
65 abort: no suitable response from remote hg
66 [255]
66 [255]
@@ -70,7 +70,7 b' clone remote via stream'
70
70
71 #if no-reposimplestore
71 #if no-reposimplestore
72
72
73 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --stream ssh://user@dummy/remote local-stream
73 $ hg clone --stream ssh://user@dummy/remote local-stream
74 streaming all changes
74 streaming all changes
75 4 files to transfer, 602 bytes of data (no-zstd !)
75 4 files to transfer, 602 bytes of data (no-zstd !)
76 transferred 602 bytes in * seconds (*) (glob) (no-zstd !)
76 transferred 602 bytes in * seconds (*) (glob) (no-zstd !)
@@ -94,7 +94,7 b' clone remote via stream'
94 clone bookmarks via stream
94 clone bookmarks via stream
95
95
96 $ hg -R local-stream book mybook
96 $ hg -R local-stream book mybook
97 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --stream ssh://user@dummy/local-stream stream2
97 $ hg clone --stream ssh://user@dummy/local-stream stream2
98 streaming all changes
98 streaming all changes
99 4 files to transfer, 602 bytes of data (no-zstd !)
99 4 files to transfer, 602 bytes of data (no-zstd !)
100 transferred 602 bytes in * seconds (*) (glob) (no-zstd !)
100 transferred 602 bytes in * seconds (*) (glob) (no-zstd !)
@@ -114,7 +114,7 b' clone bookmarks via stream'
114
114
115 clone remote via pull
115 clone remote via pull
116
116
117 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
117 $ hg clone ssh://user@dummy/remote local
118 requesting all changes
118 requesting all changes
119 adding changesets
119 adding changesets
120 adding manifests
120 adding manifests
@@ -142,14 +142,14 b' empty default pull'
142
142
143 $ hg paths
143 $ hg paths
144 default = ssh://user@dummy/remote
144 default = ssh://user@dummy/remote
145 $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\""
145 $ hg pull
146 pulling from ssh://user@dummy/remote
146 pulling from ssh://user@dummy/remote
147 searching for changes
147 searching for changes
148 no changes found
148 no changes found
149
149
150 pull from wrong ssh URL
150 pull from wrong ssh URL
151
151
152 $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist
152 $ hg pull ssh://user@dummy/doesnotexist
153 pulling from ssh://user@dummy/doesnotexist
153 pulling from ssh://user@dummy/doesnotexist
154 remote: abort: repository doesnotexist not found
154 remote: abort: repository doesnotexist not found
155 abort: no suitable response from remote hg
155 abort: no suitable response from remote hg
@@ -181,7 +181,7 b' find outgoing'
181
181
182 find incoming on the remote side
182 find incoming on the remote side
183
183
184 $ hg incoming -R ../remote -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/local
184 $ hg incoming -R ../remote ssh://user@dummy/local
185 comparing with ssh://user@dummy/local
185 comparing with ssh://user@dummy/local
186 searching for changes
186 searching for changes
187 changeset: 3:a28a9d1a809c
187 changeset: 3:a28a9d1a809c
@@ -194,7 +194,7 b' find incoming on the remote side'
194
194
195 find incoming on the remote side (using absolute path)
195 find incoming on the remote side (using absolute path)
196
196
197 $ hg incoming -R ../remote -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/`pwd`"
197 $ hg incoming -R ../remote "ssh://user@dummy/`pwd`"
198 comparing with ssh://user@dummy/$TESTTMP/local
198 comparing with ssh://user@dummy/$TESTTMP/local
199 searching for changes
199 searching for changes
200 changeset: 3:a28a9d1a809c
200 changeset: 3:a28a9d1a809c
@@ -241,7 +241,7 b' check remote tip'
241 test pushkeys and bookmarks
241 test pushkeys and bookmarks
242
242
243 $ cd $TESTTMP/local
243 $ cd $TESTTMP/local
244 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
244 $ hg debugpushkey ssh://user@dummy/remote namespaces
245 bookmarks
245 bookmarks
246 namespaces
246 namespaces
247 phases
247 phases
@@ -256,7 +256,7 b' test pushkeys and bookmarks'
256 no changes found
256 no changes found
257 exporting bookmark foo
257 exporting bookmark foo
258 [1]
258 [1]
259 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote bookmarks
259 $ hg debugpushkey ssh://user@dummy/remote bookmarks
260 foo 1160648e36cec0054048a7edc4110c6f84fde594
260 foo 1160648e36cec0054048a7edc4110c6f84fde594
261 $ hg book -f foo
261 $ hg book -f foo
262 $ hg push --traceback
262 $ hg push --traceback
@@ -328,7 +328,7 b' clone bookmarks'
328 $ hg -R ../remote bookmark test
328 $ hg -R ../remote bookmark test
329 $ hg -R ../remote bookmarks
329 $ hg -R ../remote bookmarks
330 * test 4:6c0482d977a3
330 * test 4:6c0482d977a3
331 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local-bookmarks
331 $ hg clone ssh://user@dummy/remote local-bookmarks
332 requesting all changes
332 requesting all changes
333 adding changesets
333 adding changesets
334 adding manifests
334 adding manifests
@@ -356,21 +356,21 b' hide outer repo'
356
356
357 Test remote paths with spaces (issue2983):
357 Test remote paths with spaces (issue2983):
358
358
359 $ hg init --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
359 $ hg init "ssh://user@dummy/a repo"
360 $ touch "$TESTTMP/a repo/test"
360 $ touch "$TESTTMP/a repo/test"
361 $ hg -R 'a repo' commit -A -m "test"
361 $ hg -R 'a repo' commit -A -m "test"
362 adding test
362 adding test
363 $ hg -R 'a repo' tag tag
363 $ hg -R 'a repo' tag tag
364 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
364 $ hg id "ssh://user@dummy/a repo"
365 73649e48688a
365 73649e48688a
366
366
367 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO"
367 $ hg id "ssh://user@dummy/a repo#noNoNO"
368 abort: unknown revision 'noNoNO'
368 abort: unknown revision 'noNoNO'
369 [255]
369 [255]
370
370
371 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
371 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
372
372
373 $ hg clone --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
373 $ hg clone "ssh://user@dummy/a repo"
374 destination directory: a repo
374 destination directory: a repo
375 abort: destination 'a repo' is not empty
375 abort: destination 'a repo' is not empty
376 [10]
376 [10]
@@ -463,7 +463,6 b' stderr from remote commands should be pr'
463 > [paths]
463 > [paths]
464 > default-push = ssh://user@dummy/remote
464 > default-push = ssh://user@dummy/remote
465 > [ui]
465 > [ui]
466 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
467 > [extensions]
466 > [extensions]
468 > localwrite = localwrite.py
467 > localwrite = localwrite.py
469 > EOF
468 > EOF
@@ -583,11 +582,11 b' remote hook failure is attributed to rem'
583
582
584 $ echo "pretxnchangegroup.fail = python:$TESTTMP/failhook:hook" >> remote/.hg/hgrc
583 $ echo "pretxnchangegroup.fail = python:$TESTTMP/failhook:hook" >> remote/.hg/hgrc
585
584
586 $ hg -q --config ui.ssh="\"$PYTHON\" $TESTDIR/dummyssh" clone ssh://user@dummy/remote hookout
585 $ hg -q clone ssh://user@dummy/remote hookout
587 $ cd hookout
586 $ cd hookout
588 $ touch hookfailure
587 $ touch hookfailure
589 $ hg -q commit -A -m 'remote hook failure'
588 $ hg -q commit -A -m 'remote hook failure'
590 $ hg --config ui.ssh="\"$PYTHON\" $TESTDIR/dummyssh" push
589 $ hg push
591 pushing to ssh://user@dummy/remote
590 pushing to ssh://user@dummy/remote
592 searching for changes
591 searching for changes
593 remote: adding changesets
592 remote: adding changesets
@@ -607,7 +606,7 b' abort during pull is properly reported a'
607 > [extensions]
606 > [extensions]
608 > crash = ${TESTDIR}/crashgetbundler.py
607 > crash = ${TESTDIR}/crashgetbundler.py
609 > EOF
608 > EOF
610 $ hg --config ui.ssh="\"$PYTHON\" $TESTDIR/dummyssh" pull
609 $ hg pull
611 pulling from ssh://user@dummy/remote
610 pulling from ssh://user@dummy/remote
612 searching for changes
611 searching for changes
613 adding changesets
612 adding changesets
@@ -29,7 +29,6 b' protocols with inline conditional output'
29
29
30 $ cat >> $HGRCPATH << EOF
30 $ cat >> $HGRCPATH << EOF
31 > [ui]
31 > [ui]
32 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
33 > [devel]
32 > [devel]
34 > debug.peer-request = true
33 > debug.peer-request = true
35 > [extensions]
34 > [extensions]
@@ -8,7 +8,6 b' initial setup'
8
8
9 $ cat << EOF >> $HGRCPATH
9 $ cat << EOF >> $HGRCPATH
10 > [ui]
10 > [ui]
11 > ssh="$PYTHON" "$TESTDIR/dummyssh"
12 > EOF
11 > EOF
13
12
14 repository itself is non-readable
13 repository itself is non-readable
@@ -42,18 +42,18 b' configure for serving'
42
42
43 repo not found error
43 repo not found error
44
44
45 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
45 $ hg clone ssh://user@dummy/nonexistent local
46 remote: abort: repository nonexistent not found
46 remote: abort: repository nonexistent not found
47 abort: no suitable response from remote hg
47 abort: no suitable response from remote hg
48 [255]
48 [255]
49 $ hg clone -q -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
49 $ hg clone -q ssh://user@dummy/nonexistent local
50 remote: abort: repository nonexistent not found
50 remote: abort: repository nonexistent not found
51 abort: no suitable response from remote hg
51 abort: no suitable response from remote hg
52 [255]
52 [255]
53
53
54 non-existent absolute path
54 non-existent absolute path
55
55
56 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/nonexistent local
56 $ hg clone ssh://user@dummy/`pwd`/nonexistent local
57 remote: abort: repository $TESTTMP/nonexistent not found
57 remote: abort: repository $TESTTMP/nonexistent not found
58 abort: no suitable response from remote hg
58 abort: no suitable response from remote hg
59 [255]
59 [255]
@@ -62,7 +62,7 b' clone remote via stream'
62
62
63 #if no-reposimplestore
63 #if no-reposimplestore
64
64
65 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --stream ssh://user@dummy/remote local-stream
65 $ hg clone --stream ssh://user@dummy/remote local-stream
66 streaming all changes
66 streaming all changes
67 8 files to transfer, 827 bytes of data (no-zstd !)
67 8 files to transfer, 827 bytes of data (no-zstd !)
68 transferred 827 bytes in * seconds (*) (glob) (no-zstd !)
68 transferred 827 bytes in * seconds (*) (glob) (no-zstd !)
@@ -84,7 +84,7 b' clone remote via stream'
84 clone bookmarks via stream
84 clone bookmarks via stream
85
85
86 $ hg -R local-stream book mybook
86 $ hg -R local-stream book mybook
87 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --stream ssh://user@dummy/local-stream stream2
87 $ hg clone --stream ssh://user@dummy/local-stream stream2
88 streaming all changes
88 streaming all changes
89 15 files to transfer, * of data (glob)
89 15 files to transfer, * of data (glob)
90 transferred * in * seconds (*) (glob)
90 transferred * in * seconds (*) (glob)
@@ -100,7 +100,7 b' clone bookmarks via stream'
100
100
101 clone remote via pull
101 clone remote via pull
102
102
103 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
103 $ hg clone ssh://user@dummy/remote local
104 requesting all changes
104 requesting all changes
105 adding changesets
105 adding changesets
106 adding manifests
106 adding manifests
@@ -128,14 +128,14 b' empty default pull'
128
128
129 $ hg paths
129 $ hg paths
130 default = ssh://user@dummy/remote
130 default = ssh://user@dummy/remote
131 $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\""
131 $ hg pull
132 pulling from ssh://user@dummy/remote
132 pulling from ssh://user@dummy/remote
133 searching for changes
133 searching for changes
134 no changes found
134 no changes found
135
135
136 pull from wrong ssh URL
136 pull from wrong ssh URL
137
137
138 $ hg pull -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist
138 $ hg pull ssh://user@dummy/doesnotexist
139 pulling from ssh://user@dummy/doesnotexist
139 pulling from ssh://user@dummy/doesnotexist
140 remote: abort: repository doesnotexist not found
140 remote: abort: repository doesnotexist not found
141 abort: no suitable response from remote hg
141 abort: no suitable response from remote hg
@@ -167,7 +167,7 b' find outgoing'
167
167
168 find incoming on the remote side
168 find incoming on the remote side
169
169
170 $ hg incoming -R ../remote -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/local
170 $ hg incoming -R ../remote ssh://user@dummy/local
171 comparing with ssh://user@dummy/local
171 comparing with ssh://user@dummy/local
172 searching for changes
172 searching for changes
173 changeset: 3:a28a9d1a809c
173 changeset: 3:a28a9d1a809c
@@ -180,7 +180,7 b' find incoming on the remote side'
180
180
181 find incoming on the remote side (using absolute path)
181 find incoming on the remote side (using absolute path)
182
182
183 $ hg incoming -R ../remote -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/`pwd`"
183 $ hg incoming -R ../remote "ssh://user@dummy/`pwd`"
184 comparing with ssh://user@dummy/$TESTTMP/local
184 comparing with ssh://user@dummy/$TESTTMP/local
185 searching for changes
185 searching for changes
186 changeset: 3:a28a9d1a809c
186 changeset: 3:a28a9d1a809c
@@ -227,7 +227,7 b' check remote tip'
227 test pushkeys and bookmarks
227 test pushkeys and bookmarks
228
228
229 $ cd $TESTTMP/local
229 $ cd $TESTTMP/local
230 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
230 $ hg debugpushkey ssh://user@dummy/remote namespaces
231 bookmarks
231 bookmarks
232 namespaces
232 namespaces
233 phases
233 phases
@@ -242,7 +242,7 b' test pushkeys and bookmarks'
242 no changes found
242 no changes found
243 exporting bookmark foo
243 exporting bookmark foo
244 [1]
244 [1]
245 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote bookmarks
245 $ hg debugpushkey ssh://user@dummy/remote bookmarks
246 foo 1160648e36cec0054048a7edc4110c6f84fde594
246 foo 1160648e36cec0054048a7edc4110c6f84fde594
247 $ hg book -f foo
247 $ hg book -f foo
248 $ hg push --traceback
248 $ hg push --traceback
@@ -347,7 +347,7 b' clone bookmarks'
347 $ hg -R ../remote bookmark test
347 $ hg -R ../remote bookmark test
348 $ hg -R ../remote bookmarks
348 $ hg -R ../remote bookmarks
349 * test 4:6c0482d977a3
349 * test 4:6c0482d977a3
350 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local-bookmarks
350 $ hg clone ssh://user@dummy/remote local-bookmarks
351 requesting all changes
351 requesting all changes
352 adding changesets
352 adding changesets
353 adding manifests
353 adding manifests
@@ -375,21 +375,21 b' hide outer repo'
375
375
376 Test remote paths with spaces (issue2983):
376 Test remote paths with spaces (issue2983):
377
377
378 $ hg init --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
378 $ hg init "ssh://user@dummy/a repo"
379 $ touch "$TESTTMP/a repo/test"
379 $ touch "$TESTTMP/a repo/test"
380 $ hg -R 'a repo' commit -A -m "test"
380 $ hg -R 'a repo' commit -A -m "test"
381 adding test
381 adding test
382 $ hg -R 'a repo' tag tag
382 $ hg -R 'a repo' tag tag
383 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
383 $ hg id "ssh://user@dummy/a repo"
384 73649e48688a
384 73649e48688a
385
385
386 $ hg id --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO"
386 $ hg id "ssh://user@dummy/a repo#noNoNO"
387 abort: unknown revision 'noNoNO'
387 abort: unknown revision 'noNoNO'
388 [255]
388 [255]
389
389
390 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
390 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
391
391
392 $ hg clone --ssh "\"$PYTHON\" \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
392 $ hg clone "ssh://user@dummy/a repo"
393 destination directory: a repo
393 destination directory: a repo
394 abort: destination 'a repo' is not empty
394 abort: destination 'a repo' is not empty
395 [10]
395 [10]
@@ -516,7 +516,6 b' stderr from remote commands should be pr'
516 > [paths]
516 > [paths]
517 > default-push = ssh://user@dummy/remote
517 > default-push = ssh://user@dummy/remote
518 > [ui]
518 > [ui]
519 > ssh = "$PYTHON" "$TESTDIR/dummyssh"
520 > [extensions]
519 > [extensions]
521 > localwrite = localwrite.py
520 > localwrite = localwrite.py
522 > EOF
521 > EOF
@@ -670,11 +669,11 b' remote hook failure is attributed to rem'
670
669
671 $ echo "pretxnchangegroup.fail = python:$TESTTMP/failhook:hook" >> remote/.hg/hgrc
670 $ echo "pretxnchangegroup.fail = python:$TESTTMP/failhook:hook" >> remote/.hg/hgrc
672
671
673 $ hg -q --config ui.ssh="\"$PYTHON\" $TESTDIR/dummyssh" clone ssh://user@dummy/remote hookout
672 $ hg -q clone ssh://user@dummy/remote hookout
674 $ cd hookout
673 $ cd hookout
675 $ touch hookfailure
674 $ touch hookfailure
676 $ hg -q commit -A -m 'remote hook failure'
675 $ hg -q commit -A -m 'remote hook failure'
677 $ hg --config ui.ssh="\"$PYTHON\" $TESTDIR/dummyssh" push
676 $ hg push
678 pushing to ssh://user@dummy/remote
677 pushing to ssh://user@dummy/remote
679 searching for changes
678 searching for changes
680 remote: adding changesets
679 remote: adding changesets
@@ -695,7 +694,7 b' abort during pull is properly reported a'
695 > [extensions]
694 > [extensions]
696 > crash = ${TESTDIR}/crashgetbundler.py
695 > crash = ${TESTDIR}/crashgetbundler.py
697 > EOF
696 > EOF
698 $ hg --config ui.ssh="\"$PYTHON\" $TESTDIR/dummyssh" pull
697 $ hg pull
699 pulling from ssh://user@dummy/remote
698 pulling from ssh://user@dummy/remote
700 searching for changes
699 searching for changes
701 remote: abort: this is an exercise
700 remote: abort: this is an exercise
@@ -704,14 +703,14 b' abort during pull is properly reported a'
704
703
705 abort with no error hint when there is a ssh problem when pulling
704 abort with no error hint when there is a ssh problem when pulling
706
705
707 $ hg pull ssh://brokenrepository -e "\"$PYTHON\" \"$TESTDIR/dummyssh\""
706 $ hg pull ssh://brokenrepository
708 pulling from ssh://brokenrepository/
707 pulling from ssh://brokenrepository/
709 abort: no suitable response from remote hg
708 abort: no suitable response from remote hg
710 [255]
709 [255]
711
710
712 abort with configured error hint when there is a ssh problem when pulling
711 abort with configured error hint when there is a ssh problem when pulling
713
712
714 $ hg pull ssh://brokenrepository -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" \
713 $ hg pull ssh://brokenrepository \
715 > --config ui.ssherrorhint="Please see http://company/internalwiki/ssh.html"
714 > --config ui.ssherrorhint="Please see http://company/internalwiki/ssh.html"
716 pulling from ssh://brokenrepository/
715 pulling from ssh://brokenrepository/
717 abort: no suitable response from remote hg
716 abort: no suitable response from remote hg
@@ -14,7 +14,6 b' Test creating a consuming stream bundle '
14 > evolution.exchange=True
14 > evolution.exchange=True
15 > bundle2-output-capture=True
15 > bundle2-output-capture=True
16 > [ui]
16 > [ui]
17 > ssh="$PYTHON" "$TESTDIR/dummyssh"
18 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
17 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
19 > [web]
18 > [web]
20 > push_ssl = false
19 > push_ssl = false
@@ -186,7 +186,7 b' subrepo is referenced by absolute path.'
186
186
187 subrepo paths with ssh urls
187 subrepo paths with ssh urls
188
188
189 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/cloned sshclone
189 $ hg clone ssh://user@dummy/cloned sshclone
190 requesting all changes
190 requesting all changes
191 adding changesets
191 adding changesets
192 adding manifests
192 adding manifests
@@ -203,7 +203,7 b' subrepo paths with ssh urls'
203 new changesets 863c1745b441
203 new changesets 863c1745b441
204 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
204 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
205
205
206 $ hg -R sshclone push -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/cloned
206 $ hg -R sshclone push ssh://user@dummy/`pwd`/cloned
207 pushing to ssh://user@dummy/$TESTTMP/cloned
207 pushing to ssh://user@dummy/$TESTTMP/cloned
208 pushing subrepo sub to ssh://user@dummy/$TESTTMP/sub
208 pushing subrepo sub to ssh://user@dummy/$TESTTMP/sub
209 searching for changes
209 searching for changes
@@ -2,7 +2,7 b' Test that, when an hg push is interrupte'
2 the remote hg is able to successfully roll back the transaction.
2 the remote hg is able to successfully roll back the transaction.
3
3
4 $ hg init -q remote
4 $ hg init -q remote
5 $ hg clone -e "\"$PYTHON\" \"$RUNTESTDIR/dummyssh\"" -q ssh://user@dummy/`pwd`/remote local
5 $ hg clone -q ssh://user@dummy/`pwd`/remote local
6 $ SIGPIPE_REMOTE_DEBUG_FILE="$TESTTMP/DEBUGFILE"
6 $ SIGPIPE_REMOTE_DEBUG_FILE="$TESTTMP/DEBUGFILE"
7 $ SYNCFILE1="$TESTTMP/SYNCFILE1"
7 $ SYNCFILE1="$TESTTMP/SYNCFILE1"
8 $ SYNCFILE2="$TESTTMP/SYNCFILE2"
8 $ SYNCFILE2="$TESTTMP/SYNCFILE2"
@@ -36,7 +36,7 b' disconnecting. Then exit nonzero, to for'
36
36
37 (use quiet to avoid flacky output from the server)
37 (use quiet to avoid flacky output from the server)
38
38
39 $ hg push --quiet -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --remotecmd "$remotecmd"
39 $ hg push --quiet --remotecmd "$remotecmd"
40 abort: stream ended unexpectedly (got 0 bytes, expected 4)
40 abort: stream ended unexpectedly (got 0 bytes, expected 4)
41 [255]
41 [255]
42 $ cat $SIGPIPE_REMOTE_DEBUG_FILE
42 $ cat $SIGPIPE_REMOTE_DEBUG_FILE
@@ -1,6 +1,5 b''
1 $ cat << EOF >> $HGRCPATH
1 $ cat << EOF >> $HGRCPATH
2 > [ui]
2 > [ui]
3 > ssh="$PYTHON" "$TESTDIR/dummyssh"
4 > EOF
3 > EOF
5
4
6 Set up repo
5 Set up repo
@@ -142,13 +142,13 b' HTTP without the httpheader capability:'
142
142
143 SSH (try to exercise the ssh functionality with a dummy script):
143 SSH (try to exercise the ssh functionality with a dummy script):
144
144
145 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo uno due tre quattro
145 $ hg debugwireargs ssh://user@dummy/repo uno due tre quattro
146 uno due tre quattro None
146 uno due tre quattro None
147 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --four vier
147 $ hg debugwireargs ssh://user@dummy/repo eins zwei --four vier
148 eins zwei None vier None
148 eins zwei None vier None
149 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei
149 $ hg debugwireargs ssh://user@dummy/repo eins zwei
150 eins zwei None None None
150 eins zwei None None None
151 $ hg debugwireargs --ssh "\"$PYTHON\" $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --five fuenf
151 $ hg debugwireargs ssh://user@dummy/repo eins zwei --five fuenf
152 eins zwei None None None
152 eins zwei None None None
153
153
154 Explicitly kill daemons to let the test exit on Windows
154 Explicitly kill daemons to let the test exit on Windows
General Comments 0
You need to be logged in to leave comments. Login now