diff options
| author | Vedant Kumar <vsk@apple.com> | 2016-03-29 19:24:58 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2016-03-29 19:24:58 +0000 |
| commit | dcafeddfb73342658bee3ecdcedf144d0ce3db78 (patch) | |
| tree | c257b945a7cec3bd90ecff8693e0c0af7afedded /compiler-rt/test | |
| parent | 4e62db4167a7e787640cf3f9e37c347e7970b1c8 (diff) | |
| download | bcm5719-llvm-dcafeddfb73342658bee3ecdcedf144d0ce3db78.tar.gz bcm5719-llvm-dcafeddfb73342658bee3ecdcedf144d0ce3db78.zip | |
[profile] Make a test work if run by the super-user
llvm-svn: 264773
Diffstat (limited to 'compiler-rt/test')
| -rw-r--r-- | compiler-rt/test/profile/instrprof-error.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler-rt/test/profile/instrprof-error.c b/compiler-rt/test/profile/instrprof-error.c index e73f182cacb..7b10ed58d32 100644 --- a/compiler-rt/test/profile/instrprof-error.c +++ b/compiler-rt/test/profile/instrprof-error.c @@ -1,8 +1,5 @@ // RUN: %clang_profgen -o %t -O3 %s -// RUN: touch %t.profraw -// RUN: chmod -w %t.profraw -// RUN: env LLVM_PROFILE_FILE=%t.profraw LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s -// RUN: chmod +w %t.profraw +// RUN: env LLVM_PROFILE_FILE="/" LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s int main(int argc, const char *argv[]) { if (argc < 2) |

