[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.
This commit is contained in:
Aiden Grossman 2024-12-13 06:14:41 +00:00 committed by GitHub
parent 0c94915d34
commit 2bf3ef1847
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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