Skip to content

Commit 2bf3ef1

Browse files
[BOLT] Require non root user for unreadable-profile.test (#119816)
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.
1 parent 0c94915 commit 2bf3ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/unreadable-profile.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
REQUIRES: system-linux
1+
REQUIRES: system-linux, non-root-user
22

33
RUN: touch %t.profile && chmod 000 %t.profile
44
RUN: %clang %S/Inputs/hello.c -o %t

0 commit comments

Comments
 (0)