From: Daniel Dunbar Date: Fri, 30 Jul 2010 16:40:29 +0000 (+0000) Subject: tests: Use env instead of assuming bash. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acc9bf3716be80a19f514f228cb903c0910a1725;p=clang tests: Use env instead of assuming bash. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109864 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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]