[llvm-cov] Use portable output redirection in a test

A follow-up to a test fix (r312825).

llvm-svn: 312826
This commit is contained in:
Vedant Kumar 2017-09-08 20:24:23 +00:00
parent e1e301a08a
commit 3292c33110
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// RUN: rm -f %t.out && llvm-cov show %S/Inputs/deferred-regions.covmapping -instr-profile %S/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/Users/vk/src/llvm.org-coverage-braces/llvm/test/tools,%S/.. %s &> %t.out && FileCheck %s -input-file %t.out && FileCheck %s -input-file %t.out -check-prefix=MARKER // RUN: llvm-cov show %S/Inputs/deferred-regions.covmapping -instr-profile %S/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/Users/vk/src/llvm.org-coverage-braces/llvm/test/tools,%S/.. %s 2&>1 > %t.out && FileCheck %s -input-file %t.out && FileCheck %s -input-file %t.out -check-prefix=MARKER
void foo(int x) { void foo(int x) {
if (x == 0) { if (x == 0) {