From 1aaa69039213fd19c89cc82752d0b62d2df3bfdb Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 4 Nov 2014 13:05:10 +0000 Subject: [PATCH] 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 --- test/Coverage/html-diagnostics.c | 5 +---- 1 file changed, 1 insertion(+), 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:

Annotated Source Code

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