summaryrefslogtreecommitdiff
path: root/test/Coverage
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-11-04 13:05:10 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-11-04 13:05:10 +0000
commit1aaa69039213fd19c89cc82752d0b62d2df3bfdb (patch)
tree85ab2248fa41aea751ef36382be1768c0a8df4f2 /test/Coverage
parentaee96b0436b6ca0d9dbf548613fdd57ad7457fb3 (diff)
downloadclang-1aaa69039213fd19c89cc82752d0b62d2df3bfdb.tar.gz
clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Coverage')
-rw-r--r--test/Coverage/html-diagnostics.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Coverage/html-diagnostics.c b/test/Coverage/html-diagnostics.c
index c7489f82dd..045943ae8b 100644
--- a/test/Coverage/html-diagnostics.c
+++ b/test/Coverage/html-diagnostics.c
@@ -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