File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,11 @@ class SchedTest : public LIBC_NAMESPACE::testing::Test {
145
145
using LlvmLibcSchedTest = SchedTest; \
146
146
TEST_F (LlvmLibcSchedTest, Sched_##policy) { testSched (policy, can_set); }
147
147
148
- // Root is required to set these policies.
149
- LIST_SCHED_TESTS (SCHED_FIFO, LIBC_NAMESPACE::getuid() == 0)
150
- LIST_SCHED_TESTS(SCHED_RR, LIBC_NAMESPACE::getuid() == 0)
148
+ // Temporarily disabled as these tests are failing on Arch Linux where
149
+ // scheduling policy setting succeeds without running as root.
150
+ // // Root is required to set these policies.
151
+ // LIST_SCHED_TESTS(SCHED_FIFO, LIBC_NAMESPACE::getuid() == 0)
152
+ // LIST_SCHED_TESTS(SCHED_RR, LIBC_NAMESPACE::getuid() == 0)
151
153
152
154
// No root is required to set these policies.
153
155
LIST_SCHED_TESTS (SCHED_OTHER, true )
You can’t perform that action at this time.
0 commit comments