[profile] Make a test work if run by the super-user
llvm-svn: 264773
This commit is contained in:
parent
4e62db4167
commit
dcafeddfb7
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue