[test] Add 'env' to fix test failures in windows bots.
llvm-svn: 275324
diff --git a/clang/test/Index/pch-warn-as-error-code-split.cpp b/clang/test/Index/pch-warn-as-error-code-split.cpp
index 115c9e3..f9efc8f 100644
--- a/clang/test/Index/pch-warn-as-error-code-split.cpp
+++ b/clang/test/Index/pch-warn-as-error-code-split.cpp
@@ -1,4 +1,4 @@
-// RUN: CINDEXTEST_EDITING=1 c-index-test -test-load-source local %s -Wuninitialized -Werror=unused 2>&1 | FileCheck -check-prefix=DIAGS %s
+// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source local %s -Wuninitialized -Werror=unused 2>&1 | FileCheck -check-prefix=DIAGS %s
// Make sure -Wuninitialized works even though the header had a warn-as-error occurrence.