From patchwork Mon Sep 9 08:29:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Khrustalev X-Patchwork-Id: 97332 X-Patchwork-Delegate: arjun.is@lostca.se Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B0B58385DDF0 for ; Mon, 9 Sep 2024 08:30:50 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on20606.outbound.protection.outlook.com [IPv6:2a01:111:f403:2607::606]) by sourceware.org (Postfix) with ESMTPS id B89C7385DDF0 for ; Mon, 9 Sep 2024 08:29:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B89C7385DDF0 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B89C7385DDF0 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2607::606 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1725870595; cv=pass; b=isVpqa6JTb0VEXpI19xobSeRH2S9xtCkfh0WqfMXcZt10unEb96ia/TwMwTWRub4tOkbiPk52zCPyUZDHMf5FTeLc4jAHk0Q0xh9ylf7SrpuDHCG7l0Ipqh27lYSmDkdNtmOFIkn5vtFC45SXP7uUygeByCQNzbP3BGcPdIslGo= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1725870595; c=relaxed/simple; bh=GS+nJnV0n2yqomWxO/VmI2aKBZwXza4u/lgNIGC7YXk=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=EICEY1kpd/1Q2hNewMUnh61YLHL5RTnDFAoYqqY2nQrmmfii1z/91cQD4WkEqzNkuR2i52P1JMkXOPsb/JwMSUE6i8I4bxFPtYQ8ep5VidusdAuandgcKJbsgIHTnFb/q0SoE0iLm4k6aHaIB/nzYsdjrICJdzgJ7iy1Oz2FmKo= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=unaUkcS7KKYBN7oS7fG9v7ZMagsBH664mn1UukQz47NCQlMlVsKomRE4uFkwL9bZ6ma+0nCnOkC6tPK+C0GKXwYvc7xdQ8tdFNXr0OUSvODpiXBAnIIKbfJbQ3CRWF5kS+kOWD9mMwpQ+APFGgw9uFfbzKdSQ0hy8eX3X0apuV2GoWxCxHWS01VQ+JaAdQ+gyWUUsJXPvN0w4mVXnThBI3zy57GyH2tEgnI6jFqiipIiZ0HR46bLsfHcTBdTxakbTla1fyfApV4Oa99yMFiB8dQjt8lSsYuCodZGFEbEa+9HmCJ3GIYdNuTmB+OGAJwtQYp1ZUG0YpKSIBEpHhnIKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=EREQ+cioLInHCzvXxHq6qsb8bWHgYvSBPLuxXtXk+1w=; b=aVPdHdhXOjH9sKjhmpRiWiEz/4sWPWppBUCN4X0PVlbqT6rnk0fk+jAvZWGqNIqsKrJN/n2JUNkoN9FOje6bZXu4hJKUpY5XH761U7A9GPrmorpx++nlv9NwhyBTxYOQxrlmOYALKt8VhifZbpHEQqC8s95gNpRi8EsZoJLo48bTInPUQ5/ib/cJXQR/dB27OCKH9ucQ8Dqozrk0iHBoCOsLTB4Dz/P2qDrkBCxukfTnYcqHRswhwHUhoZFZahrafvgL+bro/dPJ/F+/Ag2ouhUKVZh1vSleR8QrZbq+Xq3gW4gEwuAqbaXB7NztL4pTBi2HKmtkAutgkuVsXMqJ3A== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EREQ+cioLInHCzvXxHq6qsb8bWHgYvSBPLuxXtXk+1w=; b=bt3WT61TJ8NbPs4ZMc2M6Cnz6A/nXdPdnpt+Emq6mDlzx4iR7X10HtVOvEMJnTqRMvCFw9mfBMTXY+Bv+nb86bfqWfBR5zxG2G5i+geZBSNLTC02FovEDfQWz55pz3E7BD1LiJHvqdW+e+lGGpPfPWHfC6Jeul4kLJIaThMRuOg= Received: from AS9PR05CA0274.eurprd05.prod.outlook.com (2603:10a6:20b:492::16) by GV1PR08MB7802.eurprd08.prod.outlook.com (2603:10a6:150:59::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.14; Mon, 9 Sep 2024 08:29:44 +0000 Received: from AMS0EPF000001AD.eurprd05.prod.outlook.com (2603:10a6:20b:492:cafe::21) by AS9PR05CA0274.outlook.office365.com (2603:10a6:20b:492::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23 via Frontend Transport; Mon, 9 Sep 2024 08:29:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AMS0EPF000001AD.mail.protection.outlook.com (10.167.16.153) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 9 Sep 2024 08:29:43 +0000 Received: ("Tessian outbound 9eca038045c9:v437"); Mon, 09 Sep 2024 08:29:43 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2f3d21fe8ce5fff8 X-CR-MTA-TID: 64aa7808 Received: from L242d9aa49356.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1E69FB39-892E-4C9E-B257-D1FE71D253F5.1; Mon, 09 Sep 2024 08:29:37 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L242d9aa49356.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 09 Sep 2024 08:29:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dvp7lAKanU8Jd7Nyo3g4CI8x67PeWF7uqNTsMO8EFCJq42f2s/QZzyqxA3jzwqZF5qDywLtOy7mgbHsSyElW36uAX7PpgIWq+/20GX8BOT2rfSyEahDfvZka9Y+4FVEJ3aHoATL/Cos8mzGfBGBv/xO7ZPCOsXdHA8hdiOVfYTmUhJjJuFfPSaDCFCwoN3XfS5iN5K8/+MHTFUIH1wkl/uLDkmjltyWvxzEHH+BM2ihCk3MJc01yURbe9rzyT4tLPLyWSRhtPD1KjnjqiusZIgc1VUQT37fXIJ1xPerbj2s3LGsj4cLQ/JMlXDU2kYJEepSzqRsZy5bZX2m3NVlanA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=EREQ+cioLInHCzvXxHq6qsb8bWHgYvSBPLuxXtXk+1w=; b=HzkvnmNyD6SauqYjU6F3mo1V2XDDANz02kJA/D8JSesR9wMqhezmSsSWJOiGsMybHIkbIR2YLYE6ppvRe/GnmyZ7wATa/PUvNCnumcVOfsA1r7achb6n4u9c/9PBJKRAKcHT2v7gWG+0b7T19jPAdBoIZjmnIua3Ef5qf4tzIY546zNyuYDQD/uMonwpZ6riOygcsJxDn0JeQuxDfa13Xc1iW1N26k/kp0mEu15L6sY2rBX1hRKNu+p8q7ss5mroyrrtzUWlOoBnnaXp7iUTyv4+m2x1xl4S9Dr3QxLW/S7QLyP9qCGYmkKk5m+t4w2mQa2+fVFQOmB2+WcC5pHOsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EREQ+cioLInHCzvXxHq6qsb8bWHgYvSBPLuxXtXk+1w=; b=bt3WT61TJ8NbPs4ZMc2M6Cnz6A/nXdPdnpt+Emq6mDlzx4iR7X10HtVOvEMJnTqRMvCFw9mfBMTXY+Bv+nb86bfqWfBR5zxG2G5i+geZBSNLTC02FovEDfQWz55pz3E7BD1LiJHvqdW+e+lGGpPfPWHfC6Jeul4kLJIaThMRuOg= Received: from DU2PR04CA0063.eurprd04.prod.outlook.com (2603:10a6:10:232::8) by AS8PR08MB7307.eurprd08.prod.outlook.com (2603:10a6:20b:442::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.16; Mon, 9 Sep 2024 08:29:23 +0000 Received: from DU6PEPF0000B61F.eurprd02.prod.outlook.com (2603:10a6:10:232:cafe::15) by DU2PR04CA0063.outlook.office365.com (2603:10a6:10:232::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23 via Frontend Transport; Mon, 9 Sep 2024 08:29:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DU6PEPF0000B61F.mail.protection.outlook.com (10.167.8.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7918.13 via Frontend Transport; Mon, 9 Sep 2024 08:29:23 +0000 Received: from AZ-NEU-EXJ01.Arm.com (10.240.25.132) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 9 Sep 2024 08:29:20 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EXJ01.Arm.com (10.240.25.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 9 Sep 2024 08:29:19 +0000 Received: from udebian.localdomain (10.32.114.149) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 9 Sep 2024 08:29:18 +0000 From: To: CC: , , , Subject: [PATCH] tst: Extend cross-test-ssh.sh to support passing glibc tunables Date: Mon, 9 Sep 2024 09:29:14 +0100 Message-ID: <20240909082914.1750885-1-yury.khrustalev@arm.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DU6PEPF0000B61F:EE_|AS8PR08MB7307:EE_|AMS0EPF000001AD:EE_|GV1PR08MB7802:EE_ X-MS-Office365-Filtering-Correlation-Id: 545f9ab9-3a6d-4e9b-ca50-08dcd0a98e75 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info-Original: gIC8oh4YdW6SMJ6pDipdizFVe33kGvqWl1Mzoe/RWMNJxShpVBaapWqgYMjVoGvfAHEhFdRyceqJWYqGklGl1G+ok3Uo3XqQDDRbnTv1IUXyxTV187vF2GMNDXhUEO+wKGxzmrnkM0//QTF5dTlTDsltXxnrQ4EweVz5kB9g2XVZ/iGzFP0RQZt/YQZgMiD4RA9j8EDIjqCDFJAvTuUjVdmyjcVbnRAHgf4xcte6uAHbnx+2qTAHtvRoJoTpMjXS38akJV5eOpIDt6t2MK+6jL3mX6wjYO+vCW3Zp0607/ylfeUXSqhlZnwbv0hkdOhzI0dfmAJT/afLq2h731ihH96CENhmvTT0m6PwOk/c3If6o6T0x39iUPbLNlhYjaCRr4aEaGkRE+c6I4tDY9cBvPrvRmGwqyMcm7lIHG+ScbjWRRkJKXNGYnrDxwm47NoG2Gcdq7AEMAiQnMRGK3s+ep3KE4XRpIpZXzAfhlVE70mVxGxFiEopc6vf+P3Pgeudloms7iMApQfGK74T8/JrJWmmSlU2H5y+QAuQippxpwy40j0C1G3kfXq0NiDoxGjfYa3ph32xAcJeWb8sCOcT8JCiZ5uUmOSJ13yEebxNcMMNPYSngIMetyHEtcMP/Z7I3EMARUfJ09zEd9h5hUsPRqFKmzggaemnQKL2y+6zupOvJ9Ee2B2A3md+WDHzpXXWyzIiOWHEYULmDaDjyuPSS5TuAl49e+PnF2d6D5k2R8yCzlz6v5WxlIE6f690texVRsfy4OARKk+4iE6u6s6qe+S9uEoMTTpUP2+RiYXGGz3tgGmPpur89+BKgbzndJij/su9Vn9ugnepQ1b3fPGHxxY+ueFBXJibOxvHR88j2gcdIEtO9OBsgw6etCClkTb+1eyvyLL7GV1vv/CEVQKG1cBHWEXOoS5URWtX+TgN1uSD6uxnAJ3YMgBmcPEUwqGpGvzjlv/NguHIDVMxQI2H9+2AFkmWWaMyv1S+dunWPXt/L3Hd5XNegTMPqFYRGjhB+MIKonn8Z+X6XPCmdSO5v2Q3Ebc1dPVPXHAUPbvw+e+kCt2ogdKe51ADcyHJpVdSW089Lep+g7tCI+5x8q572nOvLRCzwjklqwj+E8eTpllnMd2+aKxCK/OOpKFdXbndSx3ZfGL3DfxP2+dgeQ8E41libw0ntC+0uqBtrzCh82xk9FZ1XACBJEW4g9jkpsJNBP9KMJ13M4qFsL4A4hg4tGEjtnzynK4OKLpOf26DGlFCutYjggoHKoWvMZNXZtatMkMV/uh3irI7w6XWDZ/wMZPureupL4vfeMS7KL4kVtYPvZtxxKunKiBMI208jzbgNzuU8mIC25BuL/PqWmXB2Ca5i+ty/68r3ypqzDD82lvh7qMAVlGFiGmX4vFFgSSD2h2i0XQROdlf+t9fz40sBgGuHsZ1yijG4XIFD2Xbd23Y76Lwx8xoN58JzqxK7OeP X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(1800799024)(36860700013)(376014)(82310400026); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7307 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:10:232::8]; domain=DU2PR04CA0063.eurprd04.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF000001AD.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 38aaf3e1-74f7-4af2-07bb-08dcd0a98280 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|35042699022|376014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: 8LY7NJcm2B5jAT7zkGNo72MwbWtJT0JSNy8X67p6aNO3iclq7d5BpZog04iV+qNj5gAF8m1lHpFIfBtB9blS0t9I+k3zae6ZPn0zfdUMliIRNe70M2TbDuIMsslWm5UTBD45Oom7ScVPe5siwkkH8vaPvQb8se59TkaOaCN1lEzd4oofNyYXEYChi7P3NXHtFPhlF8BFdlTPSJOk7JbOxG/nn+HLtQq+HmRCRa3PWb05vmNA1HBHH2TWeTJWBiKaAqtwBTdf1WY4wPKzSWv7bqKA3tBXjrTDb3m/YdG+1/ExuvNdq5iFUwJ7pybAG13dOEFLfqJY3VXEmAVKn8Z5wYVNjZ8gln9rWS2QzQwBPL2nVxSWUh+FEsW/o0BeXZgndI1dqWVMyPnVczcRhWBFSPHUrDQ5BC44/QoYfAKCuK3kECS1ttPrXe9732ykE+ZWIbyOB49Hld2K0msWmMZgPmTD+1NYUu/H9FNbINLQy+0I25sMGJ1pbsM9nEVBMRtw00xlzIQFoK+HfziNDS1991yz5FpDJaHIRpGDf8xBuUCcLhdpUl19L6so/d4WID5BfClBprn6N0mXgmnE0yMF1HQNJTuXoDSAXKo/lA1UoIuY/z2ErZX+/5AegRs+KrW1NLVem6bpBQtTOyihTMXuwsnLnC91qogyViQNBZZOfTJN2OEUoo9v/T+CE+xcicqvI3ofNqhmVi3FesaGaDTIxnNAkdlf4wLdm0/llxB5ChIXHuKp6qqh3AU5xmI72Pwd633194X+Wd4+Rr+H/jtMZF8fGlldtKRqXGHYEFwSy27XoQKag4NP//oqomywuiP/Foqu2jdT1Ftm/FcdKdgIEOcH73ZY0FSzDR/MGUGdtgdi6BEXSS6AMiTdRO4RU4mE67jurQ0V7bKoA5eXLpr+5rH6z/Ti+EMQEFv5UsTDj+ESXBX8nHeK8A8t//aLkDkZum5HX+lyuwLs0Talb4Ua6bZ8ISYU1DsTbxikGeWJdQJuKAY3CVxM5f+DxopqXvBG/t+xvejWVSioBT1SFvxvzDj1fgv4yxzZuM1yuR5jCuhLaDS6+8NrZMZeC/sppjLewGcx6OHIUFYRDF1ZENFEKJoMVS/3R4LhnTedFy+1H/eln0QxFjKuJmBxr2jblJkpmwUtPC/AAw1RWwNdl3d0hh5h7ioMS6rMhcbL5+FT3pPnRye7fXmDroWS9Bgq0cbECsc6/AStuKfj4gc/Icp9w0e8QARYSnddvfPHi6onEdl0VKMEqNDOzmTfRmIlHDzKKHWRe51bWMvwGXaMyqQVtnP6WC7HR+6D30+fN0RU3uMhPxZnskqt/NOqo5nybf8+F/4De6Fvej6FeQSJUyfjzOabIrt30osiIQAi+BCeUaVUcgV3walDEf0pjN98vtT3cDLVxXkQUNDzvcg/NZHqYH9vSblZ34NxAZulvXfU14JAcQhwa6k2i3Px2+1Vm8e3 X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230040)(82310400026)(35042699022)(376014)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2024 08:29:43.7433 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 545f9ab9-3a6d-4e9b-ca50-08dcd0a98e75 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF000001AD.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7802 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org From: Yury Khrustalev This patch adds new flag --glibctunables to the cross-test-ssh.sh script to pass Glibc tunables to the system on which tests are executed. The value to pass can be also provided via the GLIBC_TUNABLES environment variable. This works similar to the TIMEOUTFACTOR variable. Sometimes it is useful to cross test glibc with some non-default tunable, and a global environment variable is the easiest way to inject some tunable value into most tests. With this patch using cross-test-ssh.sh script becomes very similar to running a test natively on the local host when using non-default tunable is important. Reviewed-by: Arjun Shankar --- Updated script has been tested manually with various combinations of env variables and command line flags, and no regressions have been identified. OK for master? Note, I don't have push rights yet, so will need someone to push for me. Thanks, Yury --- scripts/cross-test-ssh.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/scripts/cross-test-ssh.sh b/scripts/cross-test-ssh.sh index 6f5e027737..5103038d40 100755 --- a/scripts/cross-test-ssh.sh +++ b/scripts/cross-test-ssh.sh @@ -32,6 +32,9 @@ instead of ordinary 'ssh'. If the '--timeoutfactor FACTOR' flag is present, set TIMEOUTFACTOR on the remote machine to the specified FACTOR. +If the '--glibctunables VALUE' flag is present, set GLIBC_TUNABLES on +the remote machine to the specified VALUE. + If the '--allow-time-setting' flag is present, set GLIBC_TEST_ALLOW_TIME_SETTING on the remote machine to indicate that time can be safely adjusted (e.g. on a virtual machine). @@ -66,6 +69,7 @@ appropriately." ssh='ssh' timeoutfactor=$TIMEOUTFACTOR +glibctunables=$GLIBC_TUNABLES while [ $# -gt 0 ]; do case "$1" in @@ -85,6 +89,14 @@ while [ $# -gt 0 ]; do timeoutfactor="$1" ;; + "--glibctunables") + shift + if [ $# -lt 1 ]; then + break + fi + glibctunables="$1" + ;; + "--allow-time-setting") settimeallowed="1" ;; @@ -135,6 +147,12 @@ if [ "$timeoutfactor" ]; then ${command}" fi +# Add command to set glibc tunables, if required. +if [ "$glibctunables" ]; then + command="export GLIBC_TUNABLES=$(bourne_quote "$glibctunables") +${command}" +fi + # Add command to set the info that time on target can be adjusted, # if required. # Serialize execution of this script on target to prevent from unintended