##// END OF EJS Templates
tests: replace `cd ..` with an absolute path in a couple ssh tests...
Matt Harbison -
r40305:52b773f5 default
parent child Browse files
Show More
@@ -48,7 +48,7 b' configure for serving'
48 > [hooks]
48 > [hooks]
49 > changegroup = sh -c "printenv.py changegroup-in-remote 0 ../dummylog"
49 > changegroup = sh -c "printenv.py changegroup-in-remote 0 ../dummylog"
50 > EOF
50 > EOF
51 $ cd ..
51 $ cd $TESTTMP
52
52
53 repo not found error
53 repo not found error
54
54
@@ -87,7 +87,7 b' clone remote via stream'
87 checked 3 changesets with 2 changes to 2 files
87 checked 3 changesets with 2 changes to 2 files
88 $ hg branches
88 $ hg branches
89 default 0:1160648e36ce
89 default 0:1160648e36ce
90 $ cd ..
90 $ cd $TESTTMP
91
91
92 clone bookmarks via stream
92 clone bookmarks via stream
93
93
@@ -103,7 +103,7 b' clone bookmarks via stream'
103 $ cd stream2
103 $ cd stream2
104 $ hg book
104 $ hg book
105 mybook 0:1160648e36ce
105 mybook 0:1160648e36ce
106 $ cd ..
106 $ cd $TESTTMP
107 $ rm -rf local-stream stream2
107 $ rm -rf local-stream stream2
108
108
109 #endif
109 #endif
@@ -210,7 +210,7 b' push'
210 remote: adding manifests
210 remote: adding manifests
211 remote: adding file changes
211 remote: adding file changes
212 remote: added 1 changesets with 1 changes to 1 files
212 remote: added 1 changesets with 1 changes to 1 files
213 $ cd ../remote
213 $ cd $TESTTMP/remote
214
214
215 check remote tip
215 check remote tip
216
216
@@ -236,7 +236,7 b' check remote tip'
236
236
237 test pushkeys and bookmarks
237 test pushkeys and bookmarks
238
238
239 $ cd ../local
239 $ cd $TESTTMP/local
240 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
240 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
241 bookmarks
241 bookmarks
242 namespaces
242 namespaces
@@ -343,7 +343,7 b' results here)'
343 abort: password in URL not supported!
343 abort: password in URL not supported!
344 [255]
344 [255]
345
345
346 $ cd ..
346 $ cd $TESTTMP
347
347
348 hide outer repo
348 hide outer repo
349 $ hg init
349 $ hg init
@@ -433,7 +433,7 b' Test hg-ssh in read-only mode:'
433 updating 6c0482d977a3 to public failed!
433 updating 6c0482d977a3 to public failed!
434 [1]
434 [1]
435
435
436 $ cd ..
436 $ cd $TESTTMP
437
437
438 stderr from remote commands should be printed before stdout from local code (issue4336)
438 stderr from remote commands should be printed before stdout from local code (issue4336)
439
439
@@ -500,7 +500,7 b' debug output'
500 received listkey for "phases": 15 bytes
500 received listkey for "phases": 15 bytes
501 checking for updated bookmarks
501 checking for updated bookmarks
502
502
503 $ cd ..
503 $ cd $TESTTMP
504
504
505 $ cat dummylog
505 $ cat dummylog
506 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
506 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
@@ -38,7 +38,7 b' configure for serving'
38 > [hooks]
38 > [hooks]
39 > changegroup = sh -c "printenv.py changegroup-in-remote 0 ../dummylog"
39 > changegroup = sh -c "printenv.py changegroup-in-remote 0 ../dummylog"
40 > EOF
40 > EOF
41 $ cd ..
41 $ cd $TESTTMP
42
42
43 repo not found error
43 repo not found error
44
44
@@ -73,7 +73,7 b' clone remote via stream'
73 checked 3 changesets with 2 changes to 2 files
73 checked 3 changesets with 2 changes to 2 files
74 $ hg branches
74 $ hg branches
75 default 0:1160648e36ce
75 default 0:1160648e36ce
76 $ cd ..
76 $ cd $TESTTMP
77
77
78 clone bookmarks via stream
78 clone bookmarks via stream
79
79
@@ -87,7 +87,7 b' clone bookmarks via stream'
87 $ cd stream2
87 $ cd stream2
88 $ hg book
88 $ hg book
89 mybook 0:1160648e36ce
89 mybook 0:1160648e36ce
90 $ cd ..
90 $ cd $TESTTMP
91 $ rm -rf local-stream stream2
91 $ rm -rf local-stream stream2
92
92
93 #endif
93 #endif
@@ -194,7 +194,7 b' push'
194 remote: adding manifests
194 remote: adding manifests
195 remote: adding file changes
195 remote: adding file changes
196 remote: added 1 changesets with 1 changes to 1 files
196 remote: added 1 changesets with 1 changes to 1 files
197 $ cd ../remote
197 $ cd $TESTTMP/remote
198
198
199 check remote tip
199 check remote tip
200
200
@@ -220,7 +220,7 b' check remote tip'
220
220
221 test pushkeys and bookmarks
221 test pushkeys and bookmarks
222
222
223 $ cd ../local
223 $ cd $TESTTMP/local
224 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
224 $ hg debugpushkey --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
225 bookmarks
225 bookmarks
226 namespaces
226 namespaces
@@ -359,7 +359,7 b' results here)'
359 abort: password in URL not supported!
359 abort: password in URL not supported!
360 [255]
360 [255]
361
361
362 $ cd ..
362 $ cd $TESTTMP
363
363
364 hide outer repo
364 hide outer repo
365 $ hg init
365 $ hg init
@@ -460,7 +460,7 b' Test hg-ssh in read-only mode:'
460 abort: push failed on remote
460 abort: push failed on remote
461 [255]
461 [255]
462
462
463 $ cd ..
463 $ cd $TESTTMP
464
464
465 stderr from remote commands should be printed before stdout from local code (issue4336)
465 stderr from remote commands should be printed before stdout from local code (issue4336)
466
466
@@ -549,7 +549,7 b' debug output'
549 bundle2-input-bundle: 2 parts total
549 bundle2-input-bundle: 2 parts total
550 checking for updated bookmarks
550 checking for updated bookmarks
551
551
552 $ cd ..
552 $ cd $TESTTMP
553
553
554 $ cat dummylog
554 $ cat dummylog
555 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
555 Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio
General Comments 0
You need to be logged in to leave comments. Login now