Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
c3ecbf69
Commit
c3ecbf69
authored
9 years ago
by
Matt Mackall
Browse files
Options
Downloads
Patches
Plain Diff
tests: remove duplicate inline dummyssh in test-wireproto.t
parent
8c14f87b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test-wireproto.t
+4
-17
4 additions, 17 deletions
tests/test-wireproto.t
with
4 additions
and
17 deletions
tests/test-wireproto.t
+
4
−
17
View file @
c3ecbf69
...
...
@@ -90,18 +90,5 @@
SSH
(
try
to
exercise
the
ssh
functionality
with
a
dummy
script
):
$
cat
<<
EOF
>
dummyssh
>
import
sys
>
import
os
>
os
.
chdir
(
os
.
path
.
dirname
(
sys
.
argv
[
0
]))
>
if
sys
.
argv
[
1
]
!=
"
user
@dummy
":
>
sys
.
exit
(
-
1
)
>
if
not
os
.
path
.
exists
("
dummyssh
"):
>
sys
.
exit
(
-
1
)
>
os
.
environ
["
SSH_CLIENT
"]
=
"
127.0.0.1 1 2
"
>
r
=
os
.
system
(
sys
.
argv
[
2
])
>
sys
.
exit
(
bool
(
r
))
>
EOF
$
hg
debugwireargs
--
ssh
"
python ./dummyssh
"
ssh:
//us
er@dummy
/
repo
uno
due
tre
quattro
$
hg
debugwireargs
--
ssh
dummyssh
ssh:
//us
er@dummy
/
repo
uno
due
tre
quattro
uno
due
tre
quattro
None
...
...
@@ -107,3 +94,3 @@
uno
due
tre
quattro
None
$
hg
debugwireargs
--
ssh
"
python ./
dummyssh
"
ssh:
//us
er@dummy
/
repo
eins
zwei
--
four
vier
$
hg
debugwireargs
--
ssh
dummyssh
ssh:
//us
er@dummy
/
repo
eins
zwei
--
four
vier
eins
zwei
None
vier
None
...
...
@@ -109,3 +96,3 @@
eins
zwei
None
vier
None
$
hg
debugwireargs
--
ssh
"
python ./
dummyssh
"
ssh:
//us
er@dummy
/
repo
eins
zwei
$
hg
debugwireargs
--
ssh
dummyssh
ssh:
//us
er@dummy
/
repo
eins
zwei
eins
zwei
None
None
None
...
...
@@ -111,5 +98,5 @@
eins
zwei
None
None
None
$
hg
debugwireargs
--
ssh
"
python ./
dummyssh
"
ssh:
//us
er@dummy
/
repo
eins
zwei
--
five
fuenf
$
hg
debugwireargs
--
ssh
dummyssh
ssh:
//us
er@dummy
/
repo
eins
zwei
--
five
fuenf
eins
zwei
None
None
None
Explicitly
kill
daemons
to
let
the
test
exit
on
Windows
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment