From ce0b1a8a969c37edbfc6b81ee6e502be772957b2 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 11 Feb 2014 12:41:30 -0500 Subject: [PATCH] Fixing tests for git --- test/TestRunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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