From ec6f3d27340a3197fad314624a2fa186bbee5565 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Wed, 10 Oct 2012 18:24:59 +0400 Subject: [PATCH] [git tests] Print Git version to the log at the startup. --- plugins/git4idea/tests/git4idea/test/GitTestRunEnv.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/git4idea/tests/git4idea/test/GitTestRunEnv.java b/plugins/git4idea/tests/git4idea/test/GitTestRunEnv.java index d876d8eb367a..b1e98d528ea8 100644 --- a/plugins/git4idea/tests/git4idea/test/GitTestRunEnv.java +++ b/plugins/git4idea/tests/git4idea/test/GitTestRunEnv.java @@ -44,6 +44,12 @@ public class GitTestRunEnv { public GitTestRunEnv(@NotNull File rootDir) { ourGitExecutable = getExecutable(); + try { + run(false, "version"); + } + catch (IOException e) { + e.printStackTrace(); + } myRootDir = rootDir; }