#include "prefix.h"
#include "preamble.h"
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
// 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]

#include "prefix.h"
#include "preamble.h"
int wibble(int);

// RUN: %clang -x c-header -o %t.pch %S/Inputs/prefix.h
// 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]

Use env instead of assuming bash.
tests: Use env instead of assuming bash.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@109864 91177308-0d34-0410-b5e6-96231b3b80d8
