Move not past env.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Jul 2013 14:52:56 +0000 (14:52 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Jul 2013 14:52:56 +0000 (14:52 +0000)
This only makes a difference with broken versions of env (like the one in
gnutools32) that always return 0.

llvm-svn: 187123

clang/test/Index/error-on-deserialized.c

index 3588da1..bf0d59a 100644 (file)
@@ -6,7 +6,7 @@
 // RUN: c-index-test -write-pch %t.h.pch %S/targeted-top.h
 // RUN: env CINDEXTEST_FAILONERROR=1 not c-index-test -cursor-at=%S/targeted-nested1.h:2:16 %s -include %t.h \
 // RUN:    -Xclang -error-on-deserialized-decl=NestedVar1
-// RUN: not env CINDEXTEST_FAILONERROR=1 c-index-test -cursor-at=%S/targeted-nested1.h:2:16 %s -include %t.h \
+// RUN: env CINDEXTEST_FAILONERROR=1 not c-index-test -cursor-at=%S/targeted-nested1.h:2:16 %s -include %t.h \
 // RUN:    -Xclang -error-on-deserialized-decl=NestedVar1 2>&1 \
 // RUN:  | FileCheck %s