Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5289732rwb; Mon, 14 Nov 2022 02:13:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf5vWgRdkVKn2YGDnTZgcDLqS7r28sC4zIyRKZbdR+ZBAbVcTSGxyVZQErNRKTC03fhqN6Uu X-Received: by 2002:a17:902:7c0c:b0:188:5681:4dc7 with SMTP id x12-20020a1709027c0c00b0018856814dc7mr13058681pll.97.1668420811442; Mon, 14 Nov 2022 02:13:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668420811; cv=pass; d=google.com; s=arc-20160816; b=MeZUy81h56QkeCzUFiVX/lTaat6KkZyLRlFPw9TWxiCQ25sWjmvStDibmAyh7MwwCH 0J6vEC2fHvyEFxkwRAI0W4iS/j3GM76W4Qu4vzu2IEaXQHXhoH/bcrqkqTCeZEq7/EzJ DeVo/Dh0B+xiOrHI1AIiaUA9qShGGt5L6jQB0uRN53oOmdZZDjbeexZKbiXqkSCask6i z7RE6mDKzXPjcKsP7+vuxV+0M7/00s1SzDwElzhMTjk8bbP/dxW9HZWwnkX8HO8gjr09 Sa7LoRyvT3AfJj4jFmO3cG2qXySqCI8bn9+Efd5KiAD4pScaYJm8rO7up1oxHT+SZg0F xt7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=F1zDETyuNtfyPDklupL/t+SahmqvPeLwlWGnau78gwc=; b=HGpPqIo9TulFzPmXWZ/H5I+EAx51dnf6BtodEaRjKglz9lQI0AbuDVrUJh7Ruk8sR4 Rw18RFSay9LZUP0FHZ390FZ84sTB21aP6ZlHuS9YX7Zua+Gg/BnO40RZ530d+4LnhILV 8Kp2T81LSNUBKTnUNbG7wP3iXrUU49R3/WuBYLlpxxVaYUtpaxOZ1fSX++tworE8Qdrq MFheTj4GUaL7kxv+mcN/kJyV1vUCRMGvBmY5e6KKBh3WaFghAuUl2zGMUmMn/Jb9FFL9 EWlHD+tCfAeCVnYxw5wiVeDcyQR04xKJuSYC66ayPc8lb3YMSeB0JPQrz35L5uUBO0Xj vX3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=Sx7vaj9O; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="o/Qxcf6y"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w13-20020a63934d000000b0046ef21af717si9741246pgm.683.2022.11.14.02.13.20; Mon, 14 Nov 2022 02:13:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=Sx7vaj9O; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="o/Qxcf6y"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235890AbiKNJr3 (ORCPT + 89 others); Mon, 14 Nov 2022 04:47:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235807AbiKNJrZ (ORCPT ); Mon, 14 Nov 2022 04:47:25 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08C8A19C3C; Mon, 14 Nov 2022 01:47:22 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AE8g7Jp025676; Mon, 14 Nov 2022 09:47:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=F1zDETyuNtfyPDklupL/t+SahmqvPeLwlWGnau78gwc=; b=Sx7vaj9OsaULxBJQQo2LxWtkYXVit04IAUdQUjXqtsJDSHyfx5qXDK7UU4MzcxwRr23w ipSLu5Qob1F1CrnZaA1XlG67uIsdPSjHteegRwkQLpBch6umJz5xaNyO6f1x6uKIzMpk jfN6i/+wXGVoOJcho4fvbXSj/kmLOTVemzkela6yNdvVj0Q+foblTxDfYnVZgUq547Wz 2nFctcWAduTQnysO0qqvElyZAgYAaoVd0quZ6dPYQcmlIWTfx+E1+4WUkMhI6AT/PYfX FuRi+EfQHrMzTQakyxEAajM+WKNRMjLQLH9PaekIVb3wK/cxoAWQqOlLPKlnwdkwsvy5 Hw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ku1gjhch9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Nov 2022 09:47:08 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2AE9E8MX037961; Mon, 14 Nov 2022 09:47:07 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1anam02lp2044.outbound.protection.outlook.com [104.47.57.44]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3kt1x3vycc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Nov 2022 09:47:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RQpFvifuwRpmPTSsSDM1pEuzCa+B86xuhkRBUTROSjLnWvBG0EzpJS5vA3+YOeZ9bZfrRzlSPPr97+8i3xsjmATKn9a+FA4lkBNq96opyxpO2ip4uhwikPcb+eZcZTbgiP5JNlqW0tIkABtYTp+sWf/0eQDrvzhjc1QMJTGl/cdYImNEfGbURbEnb5GhmsqrI/fD9AT+UyqevkE/Y8zcG0ohiu0xU1nYiuKANCSfF38MLL5gM9IgWZNqbc80lGnyVGeCiviVMwCtJ7KwS0dAE+m4Nhl5Lft2fLFmxdXpXZl0aJwzUjMzMTM0uACzp2r0IrrslPbpnA4WPpnXXj1gkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=F1zDETyuNtfyPDklupL/t+SahmqvPeLwlWGnau78gwc=; b=H6b/HBLspHArT/DERBt9OtrXSrrZIirGq3/0ZiRNx3gSuswAEkqpSS9nMaBV3ewS/F3uH1lVQwgrX833wbRcxKuW58RS8IrF3FuALQxsrF48TlsWQYYvyCSZHHEEIFHVPqIABwh5UGu7CEdk84n5CODkhKd604YqOjkVz2w00TO1jdff57/+8qURhq6wPEmpXyViqrhPxgfwtpsTcKzRrQOvip2I/5//gyebz3lM3olQF0k7ULbUKC0DkwF2H8tGL4guhHkYArvlrnk5xZZYEGGHhB1iE5Ubu7ozFa/tMxeepOWeYuYZX/6vt6RU0pAFheUlzPE2DYsH2FCyz8lPqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F1zDETyuNtfyPDklupL/t+SahmqvPeLwlWGnau78gwc=; b=o/Qxcf6yBBXx7fxaj1ZzEvUSni8mVQLDIA1jobs45tHKN7wC/sWYnLL79Cbt5RoP7itWaBKjNMVzEYfm9MDtA4jSR7OVLdMFuZuQIuSdIfYBV6dgayo8l4nN2Q0zlvfmiYrsIfRJRCnPPMhCL5b0fKZS+oo78vNZOahLug+BWKc= Received: from DM6PR10MB3001.namprd10.prod.outlook.com (2603:10b6:5:69::23) by BY5PR10MB4193.namprd10.prod.outlook.com (2603:10b6:a03:202::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17; Mon, 14 Nov 2022 09:47:00 +0000 Received: from DM6PR10MB3001.namprd10.prod.outlook.com ([fe80::b9f5:77e4:456c:9e08]) by DM6PR10MB3001.namprd10.prod.outlook.com ([fe80::b9f5:77e4:456c:9e08%5]) with mapi id 15.20.5813.017; Mon, 14 Nov 2022 09:47:00 +0000 Message-ID: <96eeeb5e-9fe9-ebf6-cc91-d49c86ec615d@oracle.com> Date: Mon, 14 Nov 2022 15:16:28 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH] kselftest/cgroup: Fix gathering number of CPUs Content-Language: en-US To: Breno Leitao , tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, shuah@kernel.org, cgroups@vger.kernel.org Cc: leit@meta.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221113114449.18693-1-leitao@debian.org> From: Kamalesh Babulal In-Reply-To: <20221113114449.18693-1-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MA1PR01CA0147.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::17) To DM6PR10MB3001.namprd10.prod.outlook.com (2603:10b6:5:69::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB3001:EE_|BY5PR10MB4193:EE_ X-MS-Office365-Filtering-Correlation-Id: 74ae4d49-9e5c-4ae3-7ccc-08dac6252d01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4ppC537cSrBANXCZc+8nSq3B4UO/XBT4ADcsTJLy1+6DljDZ57AIKGrcggnn8jeAt2ZmAzJS13qZoH4lv0KgF5959xsIOSQw7r9wUxJOHywitE+4rRaef3FJnJgVCCUPwVZGXiQL5xQY6eBgssRKQITw9lUlfZAU98pBz0m77t4MWnIu3uJWIfx9Pa87U0rVsFmpoo84nEdv7F79Io1QRD5HvQ8KGE3YM0297hX1G2VqwdGDMa6eORr2NpYzFn+LQllB8+3dx40qBKCN2lytjb4Zdj+HfjGEzk7ZlM/f5KyWUaY59z263Q5bwrb/zYGiabW4tU5EYUzjCqFA1I2wPBwLwet3FMKWWl6J6g05O72wdRbZsgDbtPTcIMe7p9pet1yzS/vsLSlJ0cVQlZeCP2RZe9h6verZy/qqwyC/X18q5QAK/tWrOX8TCtwNtQciRTTMTLKIgUzUaOe5Wnryl7C9vC8Ijms6FEpTU4WFr+Oh+68E/30IOV44PqBZP2JtIfdSlDb9m1YLKBl5QNpmJFVjZReuEBbOQi/wpMJAVzS61/raVcmkCDebm5LUat92aPe7kVQkVgEIu1Y+ZyePBVf2BtGDYf4q19Q8/Rig34n9dYXnSZ7OybyAmLRjYolLJuKaMPLSQTFBxl5B3likS+hMFdfU1lPfKclUET74sABlo5OArmFX0sRW8AYV1YY4wUHcwFAAL3/ByJrHN8MCO7Vcl40yJbhm5pIFsKW9YcFP5t3VQxnVfA0Bmn4UXYn3bmZJaU4OcYo7L08CNVRtbYFpV6Ptn8cmbTCNUsZ2sQ4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB3001.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(136003)(366004)(396003)(376002)(346002)(451199015)(36756003)(53546011)(6506007)(6666004)(38100700002)(2906002)(44832011)(83380400001)(316002)(66476007)(31696002)(66556008)(8676002)(66946007)(4326008)(6512007)(86362001)(41300700001)(186003)(5660300002)(26005)(2616005)(8936002)(31686004)(478600001)(6486002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YzJMTXlOTkZ5Mi9iVEwvMllqSUJmbi9UWlg5ZW05cnh2Q3Nra3hBS3ZKbS8v?= =?utf-8?B?MmVEMmVLSW82eURDeDVHbGswRUs0N2ptc0d4MjViV3JhNVViSGRBYTVEbFla?= =?utf-8?B?elhtU3RJY1dXcmNTSncxbUFsL1F4bjlyOFVha1lQR210Wm8rZ1pGYlc1c0l2?= =?utf-8?B?WFhJNExTUk5RSzlTOTF5a0gvbm9qTlFNTllhZXRsUVF0V01qeW5CNEpnMjcv?= =?utf-8?B?OUJEZW1ES0NvU2Z5SUczVVRl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UHla?= =?utf-8?B?MUY4WVNRZy8xVnN3NldaeE9UWTJrRkRFOGZGNHRyemNTQTBJU1d5WHBmc0VU?= =?utf-8?B?dVU3OUNTaXlPY1haUFdwSHpPNEV0cmw0SGtpVUZlUFF4Q3NpdjhEb0d6Ym5X?= =?utf-8?B?Smc9PQ==?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?B?RmIzZ2ErNVJta2FtdURmdGtrM2srdGdwTzRtaTBtaHdjTDA3T2tsVnJWK2ti?= =?utf-8?B?WUlBQzNMVXJBMGdKMERlM2F3UGdybDVvQjcvS1UxY2IyQTl5OUdTV1lPQThE?= =?utf-8?B?UGtLSitKUVgzL1ZPd29ETWplbkhQZlVkQlBMT1ROckx4Y3dHZGUvS2JhaXFm?= =?utf-8?B?VjhqY1BqNkN5cnBvTThWbWZ2V3NNSndweEkrVS9sTW5VWE44TFFVUi9OQVB5?= =?utf-8?B?UE5Vd2V5TDhxTHROSk5JZ2NoaHhwQ2JJb0JiUGFSWTZhSTNaeFdDaysvSXM4?= =?utf-8?B?ZVJsNXdJbVErd0JvYUl1aWRia1lxdC9GWVlHdVlxUmludUpTbDg5SlEyTk5E?= =?utf-8?B?R1VkM2p3a1pWeWN6WXNldFc4ZDJoYUxVclhtMVR5Wk1LSTNBb203emIyblNT?= =?utf-8?B?V2hMd0JZT0hhS0VXNlcvaU5rbGFxaEVwQlFUajBZL01Ka29jbm1mYWRscldn?= =?utf-8?B?SUx5V2k2MWpJcTFReUFmOEZKanZsbGpHRExubk1hL3dmT1RkSkVidk05dkhP?= =?utf-8?B?cVEyRWltRUcxRkZidVRjSFMzVEZpb2paWDV5VmF2MytvSjF2c2ZHUTlkRVlG?= =?utf-8?B?M2loRGNrRVpseWZENTNDRDFQeXJ0NE9kM0ZxNU00YTIxRDVOYzUrNDc2dVM2?= =?utf-8?B?QU8rR05XZzU3WURERGRvNkR2cVZyQUlhdHR0VlpkUlMvMnNqUENDR0RneUZG?= =?utf-8?B?SmRnTW5FT1E0UlQ2RXVpQ3dOeXlhdVVPR2ZQdnZOUWFNVkFsQm80VHBNMEN2?= =?utf-8?B?a2dScjBYT3BDbkxaVkZYWVoxQ3VRRXZWZnJRTnFwRWgyejdIRy9PTjl6Um9W?= =?utf-8?B?TENwenhrZXVZaHZnWTRRYndDV2NXclVmMEJKQzJVVzlKMEdjVnowQUlSYkE4?= =?utf-8?B?MWZHKzVuWjFsRk1wa3huckhqU1c1emJlNTU0TWxNamZvNDU5U1ByYjcvL2xR?= =?utf-8?B?ZlA4cnhtOVRMM0RoY3N1K1RwM0tVcmZKZWxGb3Ura2hwM0F1c1Q2QUlzQmxo?= =?utf-8?B?aEVybVE4Wk0xaStmMkhKOXRqcTR2ckJDeTA3T0lxTitCVlRZY0dWMytlMnhP?= =?utf-8?B?VHZoN1pKYklxL2dlSTZxcyt4aWgvcHdDL3U3dFhPZklnZzV0d2dwZWNjckd5?= =?utf-8?B?ckRMREpMZXRjK2pHUDBsajl6ZzNzUXFVMERNcUU1ZnFLUEw2MWxEMnF6M2sv?= =?utf-8?B?OHBteTkxZm5rMkpOK292aW9FYkdtNElWZUdvVTlCZnRITzRzRTRvVU1RZUZ5?= =?utf-8?B?VFgxY2RLRVRxVDBZY3hHa1J3VzBvQ29SS3ZYMDh2WDRSeWhLWXhWZmxtQ3l6?= =?utf-8?B?U3Z0cW9HN0JqSnNpZkkvMUl1V1NTTkQ1OHQ0MVdvTG9JSmZVQXBscFFsazQ3?= =?utf-8?B?MGUxdEQ4aWdLK1E9PQ==?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74ae4d49-9e5c-4ae3-7ccc-08dac6252d01 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB3001.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2022 09:47:00.1258 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wN5+LvsDtPC7wPO833Ncb9Q2XrMVzRIP+uEhS734Lkmirmcy+kMFg6DP5dPqQOmbh0DWnozmN0hwTO9oPI9CgzmHrc3sqMkGKUXe+69PrpQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB4193 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-14_07,2022-11-11_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 adultscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211140072 X-Proofpoint-ORIG-GUID: -0VxrU6kdAPQywM238bOOgWi_qn3KX3B X-Proofpoint-GUID: -0VxrU6kdAPQywM238bOOgWi_qn3KX3B X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/13/22 17:14, Breno Leitao wrote: > test_cpuset_prs.sh is failing with the following error: > > test_cpuset_prs.sh: line 29: [[: 8 > 57%: syntax error in expression (error token is "57%") > > This is happening because `lscpu | grep "^CPU(s)"` returns two lines in > some systems (such as Debian unstable): > > # lscpu | grep "^CPU(s)" > CPU(s): 8 > CPU(s) scaling MHz: 55% > > This is a simple fix that discard the second line. > > Signed-off-by: Breno Leitao Tested with util-linux v2.38 Reviewed-by: Kamalesh Babulal > --- > tools/testing/selftests/cgroup/test_cpuset_prs.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/cgroup/test_cpuset_prs.sh b/tools/testing/selftests/cgroup/test_cpuset_prs.sh > index 526d2c42d870..564ca8c33035 100755 > --- a/tools/testing/selftests/cgroup/test_cpuset_prs.sh > +++ b/tools/testing/selftests/cgroup/test_cpuset_prs.sh > @@ -25,7 +25,7 @@ WAIT_INOTIFY=$(cd $(dirname $0); pwd)/wait_inotify > CGROUP2=$(mount -t cgroup2 | head -1 | awk -e '{print $3}') > [[ -n "$CGROUP2" ]] || skip_test "Cgroup v2 mount point not found!" > > -CPUS=$(lscpu | grep "^CPU(s)" | sed -e "s/.*:[[:space:]]*//") > +CPUS=$(lscpu | grep "^CPU(s):" | sed -e "s/.*:[[:space:]]*//") > [[ $CPUS -lt 8 ]] && skip_test "Test needs at least 8 cpus available!" > > # Set verbose flag and delay factor -- Thanks, Kamalesh