r221263 - clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing.
NAKAMURA Takumi
geek4civic at gmail.com
Tue Nov 4 05:05:10 PST 2014
Author: chapuni
Date: Tue Nov 4 07:05:10 2014
New Revision: 221263
URL: http://llvm.org/viewvc/llvm-project?rev=221263&view=rev
Log:
clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing.
Modified:
cfe/trunk/test/Coverage/html-diagnostics.c
Modified: cfe/trunk/test/Coverage/html-diagnostics.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/html-diagnostics.c?rev=221263&r1=221262&r2=221263&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/html-diagnostics.c (original)
+++ cfe/trunk/test/Coverage/html-diagnostics.c Tue Nov 4 07:05:10 2014
@@ -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
More information about the cfe-commits
mailing list