[libc-commits] [PATCH] D148044: [LIBC] Fix comments / name of __sched_cpu_count tests

Noah Goldstein via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Apr 11 13:41:28 PDT 2023


goldstein.w.n updated this revision to Diff 512569.
goldstein.w.n added a comment.

Fix comment


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148044/new/

https://reviews.llvm.org/D148044

Files:
  libc/test/src/sched/cpu_count_test.cpp


Index: libc/test/src/sched/cpu_count_test.cpp
===================================================================
--- libc/test/src/sched/cpu_count_test.cpp
+++ libc/test/src/sched/cpu_count_test.cpp
@@ -1,4 +1,4 @@
-//===-- Unittests for sched_getaffinity and sched_setaffinity -------------===//
+//===-- Unittests for __sched_cpu_count -----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -15,7 +15,7 @@
 #include <sched.h>
 #include <sys/syscall.h>
 
-TEST(LlvmLibcSchedAffinityTest, SmokeTest) {
+TEST(LlvmLibcSchedCpuCountTest, SmokeTest) {
   cpu_set_t mask;
   libc_errno = 0;
   using __llvm_libc::testing::ErrnoSetterMatcher::Succeeds;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148044.512569.patch
Type: text/x-patch
Size: 785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230411/6a92da53/attachment.bin>


More information about the libc-commits mailing list