aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-30 16:40:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-30 16:40:29 +0000
commitacc9bf3716be80a19f514f228cb903c0910a1725 (patch)
treed580cef57601f3d604d8d2561b5d4b561144d1b1
parent390f55f4c7882b2b63767e871c2961522c3b9efb (diff)
tests: Use env instead of assuming bash.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109864 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Index/preamble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/preamble.c b/test/Index/preamble.c
index 7ab1be5f73..f6d878b9eb 100644
--- a/test/Index/preamble.c
+++ b/test/Index/preamble.c
@@ -3,6 +3,6 @@
int wibble(int);
// RUN: %clang -x c-header -o %t.pch %S/Inputs/prefix.h
-// RUN: CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 local -I %S/Inputs -include %t %s | FileCheck %s
+// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 local -I %S/Inputs -include %t %s | FileCheck %s
// CHECK: preamble.c:3:5: FunctionDecl=wibble:3:5 Extent=[3:5 - 3:16]
// CHECK: preamble.c:3:15: ParmDecl=:3:15 (Definition) Extent=[3:12 - 3:16]