diff options
author | James Cammarata <jcammarata@ansibleworks.com> | 2014-02-11 18:41:30 +0100 |
---|---|---|
committer | James Cammarata <jcammarata@ansibleworks.com> | 2014-02-11 18:41:49 +0100 |
commit | ce0b1a8a969c37edbfc6b81ee6e502be772957b2 (patch) | |
tree | 51e4a12c85706b8564fdb14ae2b282cf54b7380d | |
parent | Merge pull request #5957 from sivel/rax-no-default-disk-config (diff) | |
download | ansible-ce0b1a8a969c37edbfc6b81ee6e502be772957b2.tar.xz ansible-ce0b1a8a969c37edbfc6b81ee6e502be772957b2.zip |
Fixing tests for git
-rw-r--r-- | test/TestRunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TestRunner.py b/test/TestRunner.py index de5596da0c..e9207c229a 100644 --- a/test/TestRunner.py +++ b/test/TestRunner.py @@ -199,7 +199,7 @@ class TestRunner(unittest.TestCase): result = self._run('git', ["repo=\"file:///tmp/%s\"" % git_demo, "dest=/tmp/%s" % git_bare, "bare=yes", "remote=test"]) assert result['changed'] # test a no-op fetch, add origin for el6 versions of git - self._run('command', ['git remote add origin file:///tmp/%s' % git_demo, 'chdir=/tmp/%s' % git_dm]) + self._run('command', ['git', 'remote', 'add', 'origin', 'file:///tmp/%s' % git_demo, 'chdir=/tmp/%s' % git_bare]) result = self._run('git', ["repo=\"file:///tmp/%s\"" % git_demo, "dest=/tmp/%s" % git_bare, "bare=yes"]) assert not result['changed'] # test whether fetch is working for bare repos |