提交 ba47de35 编写于 作者: M Mislav Marohnić

[test] Have `git bundle` tests run in a pristine environment

上级 a909f263
......@@ -62,7 +62,7 @@ Given(/^a git bundle named "([^"]*)"$/) do |file|
Dir.mktmpdir do |tmpdir|
Dir.chdir(tmpdir) do
`git init --quiet`
`git commit --quiet -m 'empty' --allow-empty`
`GIT_COMMITTER_NAME=a GIT_COMMITTER_EMAIL=b git commit --quiet -m 'empty' --allow-empty --author='a <b>'`
`git bundle create "#{dest}" master 2>&1`
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册