Skip to content

Commit

Permalink
[BOLT] Require non root user for unreadable-profile.test (llvm#119816)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
boomanaiden154 authored Dec 13, 2024
1 parent 0c94915 commit 2bf3ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt/test/unreadable-profile.test
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2bf3ef1

Please sign in to comment.