Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
69134223
Commit
69134223
authored
Jan 10, 2022
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: test `[user@host:port]:path` formats
parent
e2bda60a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
ci/test.sh
+15
-5
No files found.
ci/test.sh
View file @
69134223
...
...
@@ -300,18 +300,28 @@ if [ -z "$SKIP_NEGOTIATE_TESTS" -a -n "$GITTEST_NEGOTIATE_PASSWORD" ]; then
fi
if
[
-z
"
$SKIP_SSH_TESTS
"
]
;
then
echo
""
echo
"Running ssh tests"
echo
""
export
GITTEST_REMOTE_URL
=
"ssh://localhost:2222/
$SSHD_DIR
/test.git"
export
GITTEST_REMOTE_USER
=
$USER
export
GITTEST_REMOTE_SSH_KEY
=
"
${
HOME
}
/.ssh/id_rsa"
export
GITTEST_REMOTE_SSH_PUBKEY
=
"
${
HOME
}
/.ssh/id_rsa.pub"
export
GITTEST_REMOTE_SSH_PASSPHRASE
=
""
export
GITTEST_REMOTE_SSH_FINGERPRINT
=
"
${
SSH_FINGERPRINT
}
"
echo
""
echo
"Running ssh tests"
echo
""
export
GITTEST_REMOTE_URL
=
"ssh://localhost:2222/
$SSHD_DIR
/test.git"
run_test ssh
unset
GITTEST_REMOTE_URL
echo
""
echo
"Running ssh tests (scp-style paths)"
echo
""
export
GITTEST_REMOTE_URL
=
"[localhost:2222]:
$SSHD_DIR
/test.git"
run_test ssh
unset
GITTEST_REMOTE_URL
unset
GITTEST_REMOTE_USER
unset
GITTEST_REMOTE_SSH_KEY
unset
GITTEST_REMOTE_SSH_PUBKEY
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment