summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test')
-rw-r--r--llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test b/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test
index e899ece2755..6db723c3e25 100644
--- a/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test
+++ b/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test
@@ -1,6 +1,6 @@
-RUN: printf "warforpl" > %t
+RUN: printf '\201rforpl\377' > %t
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
-RUN: printf "lprofraw" > %t
+RUN: printf '\377lprofr\201' > %t
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
CHECK: error: {{.+}}: Invalid header
OpenPOWER on IntegriCloud