Apparently, some versions of diff like -U0 more than -u0.
authorAlexander Kornienko <alexfh@google.com>
Wed, 25 Jun 2014 14:56:58 +0000 (14:56 +0000)
committerAlexander Kornienko <alexfh@google.com>
Wed, 25 Jun 2014 14:56:58 +0000 (14:56 +0000)
llvm-svn: 211703

clang-tools-extra/test/clang-tidy/clang-tidy-diff.cpp

index b67bb6f..ff6ac7e 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: sed 's/placeholder_for_f/f/' %s > %t.cpp
 // RUN: clang-tidy -checks=-*,misc-use-override %t.cpp -- -std=c++11 | FileCheck -check-prefix=CHECK-SANITY %s
-// RUN: not diff -u0 %s %t.cpp | python %S/../../clang-tidy/tool/clang-tidy-diff.py -checks=-*,misc-use-override -- -std=c++11 2>&1 | FileCheck %s
+// RUN: not diff -U0 %s %t.cpp | python %S/../../clang-tidy/tool/clang-tidy-diff.py -checks=-*,misc-use-override -- -std=c++11 2>&1 | FileCheck %s
 struct A {
   virtual void f() {}
   virtual void g() {}