From ce96c9fa13e8deb26bfbcc8d62918534cbd11012 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Fri, 13 Dec 2024 04:39:35 +0000 Subject: [PATCH] [BOLT] Require non root user for unreadable-profile.test 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 fe1ca93f3221e..4c1cd8af0a62c 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