diff options
-rwxr-xr-x | git_ssh | 15 | ||||
-rw-r--r-- | tests/test_git_config.py | 14 |
2 files changed, 29 insertions, 0 deletions
@@ -1,2 +1,17 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # Copyright (C) 2009 The Android Open Source Project | ||
4 | # | ||
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
6 | # you may not use this file except in compliance with the License. | ||
7 | # You may obtain a copy of the License at | ||
8 | # | ||
9 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | # | ||
11 | # Unless required by applicable law or agreed to in writing, software | ||
12 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | # See the License for the specific language governing permissions and | ||
15 | # limitations under the License. | ||
16 | |||
2 | exec ssh -o "ControlMaster no" -o "ControlPath $REPO_SSH_SOCK" "$@" | 17 | exec ssh -o "ControlMaster no" -o "ControlPath $REPO_SSH_SOCK" "$@" |
diff --git a/tests/test_git_config.py b/tests/test_git_config.py index 8773b0b9..ca818f48 100644 --- a/tests/test_git_config.py +++ b/tests/test_git_config.py | |||
@@ -1,4 +1,18 @@ | |||
1 | # -*- coding:utf-8 -*- | 1 | # -*- coding:utf-8 -*- |
2 | # | ||
3 | # Copyright (C) 2009 The Android Open Source Project | ||
4 | # | ||
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
6 | # you may not use this file except in compliance with the License. | ||
7 | # You may obtain a copy of the License at | ||
8 | # | ||
9 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | # | ||
11 | # Unless required by applicable law or agreed to in writing, software | ||
12 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | # See the License for the specific language governing permissions and | ||
15 | # limitations under the License. | ||
2 | 16 | ||
3 | import os | 17 | import os |
4 | import unittest | 18 | import unittest |