From: NAKAMURA Takumi Date: Tue, 4 Nov 2014 13:05:10 +0000 (+0000) Subject: clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1aaa69039213fd19c89cc82752d0b62d2df3bfdb;p=clang 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 --- 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:

Annotated Source Code

// Without tweaking expr, the expr would hit to the line below