]> granicus.if.org Git - clang/commitdiff
tests: Use env instead of assuming bash.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 30 Jul 2010 16:40:29 +0000 (16:40 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 30 Jul 2010 16:40:29 +0000 (16:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109864 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/preamble.c

index 7ab1be5f73e065185906ac0154be9eb8f28cc3ab..f6d878b9eb98c83ef1633707c9c013cb4eaaee47 100644 (file)
@@ -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]