From 1ed28b4c80cfd222be08b0c2e71e6287e52bb276 Mon Sep 17 00:00:00 2001 From: zhushengle Date: Wed, 27 Oct 2021 17:35:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BF=9B=E7=A8=8B?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=AF=BC=E8=87=B4=E9=97=A8=E7=A6=81=E6=A6=82?= =?UTF-8?q?=E7=8E=87=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Close #I4FO0N Signed-off-by: zhushengle Change-Id: I9dc9819f2ebceaceea337651cc747d737e437661 --- .../unittest/process/process/smoke/process_test_045.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuites/unittest/process/process/smoke/process_test_045.cpp b/testsuites/unittest/process/process/smoke/process_test_045.cpp index 6a82ae7b..a094cb7e 100644 --- a/testsuites/unittest/process/process/smoke/process_test_045.cpp +++ b/testsuites/unittest/process/process/smoke/process_test_045.cpp @@ -59,11 +59,11 @@ static UINT32 Testcase(VOID) ICUNIT_ASSERT_EQUAL(ret, -1, ret); ICUNIT_ASSERT_EQUAL(errno, EPERM, errno); - ret = sched_setaffinity(60, sizeof(cpu_set_t), &cpuset); // 60, pid num + ret = sched_setaffinity(128, sizeof(cpu_set_t), &cpuset); // 128, pid num ICUNIT_ASSERT_EQUAL(ret, -1, ret); ICUNIT_ASSERT_EQUAL(errno, ESRCH, errno); - ret = sched_getaffinity(60, sizeof(cpu_set_t), &cpuset); // 60, pid num + ret = sched_getaffinity(128, sizeof(cpu_set_t), &cpuset); // 128, pid num ICUNIT_ASSERT_EQUAL(ret, -1, ret); ICUNIT_ASSERT_EQUAL(errno, ESRCH, errno); -- GitLab