diff options
author | Fangrui Song <maskray@google.com> | 2018-06-19 07:11:33 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-06-19 07:11:33 +0000 |
commit | 3fb3651027c962f7a0ee36e1773f85561e212985 (patch) | |
tree | 61d14d3fbf41839e175cb3249522fbc85aef7463 /test/xray/TestCases/Posix/profiling-single-threaded.cc | |
parent | f9af46fc7a7cf019671c91c487f5216db984ca21 (diff) |
[XRay] rm GLOB || true -> rm -f
Summary: `rm -f` does not write diagnostic message when there is no file argument.
Reviewers: dberris
Subscribers: delcypher, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D48311
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/xray/TestCases/Posix/profiling-single-threaded.cc')
-rw-r--r-- | test/xray/TestCases/Posix/profiling-single-threaded.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/xray/TestCases/Posix/profiling-single-threaded.cc b/test/xray/TestCases/Posix/profiling-single-threaded.cc index 6ce1f06a0..c6037c777 100644 --- a/test/xray/TestCases/Posix/profiling-single-threaded.cc +++ b/test/xray/TestCases/Posix/profiling-single-threaded.cc @@ -3,13 +3,13 @@ // // FIXME: Make -fxray-modes=xray-profiling part of the default? // RUN: %clangxx_xray -std=c++11 %s -o %t -fxray-modes=xray-profiling -// RUN: rm xray-log.profiling-single-* || true +// RUN: rm -f xray-log.profiling-single-* // RUN: XRAY_OPTIONS=verbosity=1 \ // RUN: XRAY_PROFILING_OPTIONS=no_flush=true %run %t // RUN: XRAY_OPTIONS=verbosity=1 %run %t // RUN: PROFILES=`ls xray-log.profiling-single-* | wc -l` // RUN: [ $PROFILES -eq 2 ] -// RUN: rm xray-log.profiling-single-* || true +// RUN: rm -f xray-log.profiling-single-* // // UNSUPPORTED: target-is-mips64,target-is-mips64el |