]> granicus.if.org Git - clang/commitdiff
clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 4 Nov 2014 13:05:10 +0000 (13:05 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 4 Nov 2014 13:05:10 +0000 (13:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221263 91177308-0d34-0410-b5e6-96231b3b80d8

test/Coverage/html-diagnostics.c

index c7489f82dd7ce5dc26f6588eb5ca766b603a549e..045943ae8b111f8543bf3c0df6188446d1417350 100644 (file)
@@ -1,12 +1,9 @@
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t %s
-// RUN: cat %t/*.html | FileCheck %s
+// RUN: find %t -name "*.html" -exec cat "{}" ";" | FileCheck %s
 
 // REQUIRES: staticanalyzer
 
-// Because of the glob (*.html)
-// REQUIRES: shell
-
 // CHECK: <h3>Annotated Source Code</h3>
 
 // Without tweaking expr, the expr would hit to the line below