[llvm] [BOLT] Require non root user for unreadable-profile.test (PR #119816)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 20:41:24 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
This patch adds a requirement for a non root user in unreadable-profile.test. This test fails if run as a root user (like in a container without explicitly changing the user), which can lead to some CI test failures.
---
Full diff: https://github.com/llvm/llvm-project/pull/119816.diff
1 Files Affected:
- (modified) bolt/test/unreadable-profile.test (+1-1)
``````````diff
diff --git a/bolt/test/unreadable-profile.test b/bolt/test/unreadable-profile.test
index fe1ca93f3221e8..4c1cd8af0a62c1 100644
--- a/bolt/test/unreadable-profile.test
+++ b/bolt/test/unreadable-profile.test
@@ -1,4 +1,4 @@
-REQUIRES: system-linux
+REQUIRES: system-linux, non-root-user
RUN: touch %t.profile && chmod 000 %t.profile
RUN: %clang %S/Inputs/hello.c -o %t
``````````
</details>
https://github.com/llvm/llvm-project/pull/119816
More information about the llvm-commits
mailing list