]> granicus.if.org Git - clang/commitdiff
test/Coverage/html-diagnostics.c: Use find(1) to glob wildcards.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 19 Oct 2010 03:38:22 +0000 (03:38 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 19 Oct 2010 03:38:22 +0000 (03:38 +0000)
MSYS cat(1) does not expand wildcards.

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

test/Coverage/html-diagnostics.c

index be820fb90f29b7df7e3b54df48868b2f2ae6c1a7..f9c4b54de3e006c486504224978c92907aa01325 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-check-objc-mem -o %t %s
-// RUN: cat %t/*.html | FileCheck %s
+// RUN: find %t -type f -name '*.html' -exec cat '{}' ';' | FileCheck %s
 
 // CHECK: <h3>Annotated Source Code</h3>