From 42a73500c063cb1b1b8fd2b0a1e96cd418b2bf42 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 1 Jul 2014 10:56:41 -0600 Subject: [PATCH] Use a test-specific name/email for the git calls Signed-off-by: Zack Cerza --- teuthology/test/test_repo_utils.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/teuthology/test/test_repo_utils.py b/teuthology/test/test_repo_utils.py index 224011203e..9e94c1af0f 100644 --- a/teuthology/test/test_repo_utils.py +++ b/teuthology/test/test_repo_utils.py @@ -20,6 +20,18 @@ class TestRepoUtils(object): stdout=subprocess.PIPE, ) assert proc.wait() == 0 + proc = subprocess.Popen( + ('git', 'config', 'user.email', 'test@ceph.com'), + cwd=self.src_path, + stdout=subprocess.PIPE, + ) + assert proc.wait() == 0 + proc = subprocess.Popen( + ('git', 'config', 'user.name', 'Test User'), + cwd=self.src_path, + stdout=subprocess.PIPE, + ) + assert proc.wait() == 0 proc = subprocess.Popen( ('git', 'commit', '--allow-empty', '--allow-empty-message', '--no-edit'), -- 2.39.5