diff --git a/test/tools/llvm-profdata/show-prof-size.test b/test/tools/llvm-profdata/show-prof-size.test index cc9b16aa08c..926027992ee 100644 --- a/test/tools/llvm-profdata/show-prof-size.test +++ b/test/tools/llvm-profdata/show-prof-size.test @@ -1,5 +1,5 @@ ; RUN: llvm-profdata merge -sample -extbinary -prof-sym-list=%S/Inputs/profile-symbol-list-1.text %S/Inputs/sample-profile.proftext -o %t.1.output -; RUN: ls -l %t.1.output |tr -s ' ' |cut -f5 -d ' ' > %t.txt +; RUN: ls -o %t.1.output |tr -s ' ' |cut -f4 -d ' ' > %t.txt ; RUN: llvm-profdata show -sample -show-sec-info-only %t.1.output >> %t.txt ; RUN: FileCheck %s --input-file=%t.txt ; Check llvm-profdata shows the correct file size.