From 2bf3ef18471a987aea32fd845535b58aedbb3e46 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Fri, 13 Dec 2024 06:14:41 +0000 Subject: [PATCH] [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. --- bolt/test/unreadable-profile.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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