[ARVADOS] updated: c7dd8c812e70ca9d9126683382aa5ac216224d1f
Git user
git at public.curoverse.com
Tue Sep 19 10:04:41 EDT 2017
Summary of changes:
services/api/test/unit/commit_test.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
via c7dd8c812e70ca9d9126683382aa5ac216224d1f (commit)
from b7b42350dec7aba073df13c9cd82bafe19a9f594 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit c7dd8c812e70ca9d9126683382aa5ac216224d1f
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Tue Sep 19 10:02:47 2017 -0400
12107: Fix test suite dependence on outer git config.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/services/api/test/unit/commit_test.rb b/services/api/test/unit/commit_test.rb
index 6a8a5b4..a032822 100644
--- a/services/api/test/unit/commit_test.rb
+++ b/services/api/test/unit/commit_test.rb
@@ -101,10 +101,10 @@ class CommitTest < ActiveSupport::TestCase
must_pipe("git checkout -b branch-#{rand(10**10)} 2>&1")
must_pipe("echo -n #{tag.shellescape} >bar")
must_pipe("git add bar")
- must_pipe("git commit -m -")
+ must_pipe("git commit --author 'X <x at x>' -m -")
sha1 = must_pipe("git log -n1 --format=%H").strip
must_pipe("git rm bar")
- must_pipe("git commit -m -")
+ must_pipe("git commit --author 'X <x at x>' -m -")
end
Commit.tag_in_internal_repository 'active/foo', sha1, tag
gitint = "git --git-dir #{Rails.configuration.git_internal_dir.shellescape}"
@@ -118,7 +118,7 @@ class CommitTest < ActiveSupport::TestCase
with_foo_repository do
must_pipe("echo -n #{tag.shellescape} >bar")
must_pipe("git add bar")
- must_pipe("git commit -m -")
+ must_pipe("git commit --author 'X <x at x>' -m -")
sha1 = must_pipe("git log -n1 --format=%H").strip
must_pipe("git reset --hard HEAD^")
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list