]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187123 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/error-on-deserialized.c

index 3588da11bbea9e69f185fb5c71cab09fe9882ce9..bf0d59a0588044809577300da5e91ada5808e6f7 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