Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
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
OpenEdx
ansible
Commits
4391cbfd
Commit
4391cbfd
authored
Nov 14, 2013
by
James Tanner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix git bare test in el6 by adding origin to remote
parent
ad5012f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
test/TestRunner.py
+2
-1
No files found.
test/TestRunner.py
View file @
4391cbfd
...
...
@@ -192,7 +192,8 @@ class TestRunner(unittest.TestCase):
# test the bare option
result
=
self
.
_run
(
'git'
,
[
"repo=
\"
file:///tmp/gitdemo
\"
"
,
"dest=/tmp/gdbare"
,
"bare=yes"
,
"remote=test"
])
assert
result
[
'changed'
]
# test a no-op fetch
# test a no-op fetch, add origin for el6 versions of git
self
.
_run
(
'command'
,
[
'git remote add origin file:///tmp/gitdemo'
,
'chdir=/tmp/gdbare'
])
result
=
self
.
_run
(
'git'
,
[
"repo=
\"
file:///tmp/gitdemo
\"
"
,
"dest=/tmp/gdbare"
,
"bare=yes"
])
assert
not
result
[
'changed'
]
# test whether fetch is working for bare repos
...
...
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