From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (unknown [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 542AB80067 for ; Fri, 25 Sep 2026 13:21:54 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 68PDKYHM025415; Fri, 25 Sep 2026 16:20:35 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 68PDKYHM025415 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="CSH3R3SI" Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 68PDKXcn025403 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Fri, 25 Sep 2026 16:20:33 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 68PDKXcn025403 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-48585fce16fso221157f8f.0 for ; Fri, 25 Sep 2026 06:20:33 -0700 (PDT) X-Gm-Message-State: AFuF++lgu2sm6p6ALYCMzpqyiguHCRzThaogzOs5/0AkRdz4xSmg3MUJ x/2/TI1zIx59Xxd+TJHtmKtu+7+txnejcv6Zh4bLj8C8bikDXFWftKZC1bMz2MPFikSRpisDTJq NRXYwAzvGvS/RDVq932XMmI3rB/tp4rUffSg7jMNkhrn+f+iZozAoaA== X-Gm-Gg: AYBFou0eUvolOwIO8AOt6zcusJC0v08ZQ1D+WhEzOD3xsAalux8HIYQphdxci/dOZme PppE9pzXJbu2ZXSp1qMUxGEIn4OF78YqZ3kGOYzenKHKL5ibDdfrF7SIXBF0TosMV8NA04wsYvp 4Y4gS9mNjgny4xKujOoxbBMF9kYndFD+UTpNDQzeoc8k7Q5N4WQBGoJSWxwTdOCR/F8qIdmi1wx Wq/ZTETybvMDSmoqLTobnXjz4NB85fpZruVhuHTN5c1FR8tLc/3sPzPVUgBabtgKbYoVambNshV breu+N7ok9OPsCyE994CW3KV0SpG7eogC3hJ13daD9o3fUoa4ONLceE13AX/I0YtCR9DDNvzCzQ 8C/pjyaD6UBxpk8aOTvxiYrp4Fw== X-Received: by 2002:a5d:6f19:0:b0:485:ac96:7251 with SMTP id ffacd0b85a97d-488716ca6b4mr10628990f8f.21.1790342432845; Fri, 25 Sep 2026 06:20:32 -0700 (PDT) X-Received: by 2002:a5d:6f19:0:b0:485:ac96:7251 with SMTP id ffacd0b85a97d-488716ca6b4mr10628915f8f.21.1790342432267; Fri, 25 Sep 2026 06:20:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1790342432; cv=none; d=google.com; s=arc-20260327; b=GsgWQv3i+a45oyPC7rZadaPO9WRsEJ8IDQ8WLK5A0kg6yQn107+ZgS1+YpMpNFsAnk 8QJKbp1sXqFxjCaETAXKrUhnAXs3komhC4+OwK8fdpGZwDgEOMUz5RurOJe1mXrcUerb BNOJpM1RVIGXEf4QSkz7MEZEDj29C6nYG0JJWacm3WPgoXD0DP49t8jlJhYr6kfeUGaW zJQCIr5WfKgrpgpx3ltiJBD8BzX/T/ZAJC2JhWJhHG7OgeOKvg79Ydp2RZ01k9Ed4gR6 TL0xHy42wpGliWFDZ0MTxtWNBoi8iuWadev4Dl3xmYOZOynxP3vrTko/FiPq9pCczzrf Gl2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=FAXKD59HgPcm9hux2ZTxcUkyl2ZNuSxSIp7QbGILn8Y=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=FXMjcgptmddjPjHgNmcikNCPN5s53gx9iZPoPVYH6hWohtJlTSaoPp80+4aAPZ5dIt xgue4/bRCrH3ycguL2DH5YClZtu6pEHw+zUhk1OBk1n+LQSUtnkdWGzzx3dJSx2X4zCT l1jiigrQQJ4l1z7viOPUYYhMrn+3eqVCDZJmHXNbmUpWhPLDniSyHIobKlZyxY5+NxZw rrMDSbLc5GMeURnNpjwDrbhDoqe9i/ioMWsvLUuS0Ug2TfRrFAXnTxgtQkno/UvVsGum I2SMR4Xul6mxK4mToXLCmQYkYrxi/qCQFpk1LxAyuxHrEGvpPF8ZJ9ne11EX36hnuysL 0LGg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=CSH3R3SI; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-4887a87580dsi4862849f8f.401.2026.09.25.06.20.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2026 06:20:32 -0700 (PDT) Received-SPF: pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=CSH3R3SI; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=FAXKD59HgPcm9hux2ZTxcUkyl2ZNuSxSIp7QbGILn8Y=; b=CSH3R3SIi0mh Ow1PQCQWdWBkPw6fRuCZQF3qVNeYC+dXKJ4n9UD5lMTduCb6DSpIAvwu6vGPbwPb3zI94/ZjbeCev hZSbHRvV8BrSm++1vMcfwp1Sxxy5IRU2MN2d9MRu4oLorn9E1cVOVz+S4WyXIK7upth0lqCy3awXk YDSKhIk9DtZw3+T6L/C5ZdX49by9jvk5LZCiDnsEakUVwnr5/8uhi4/LzmBEHXpNy4N4Ya7rdt4du Tb4Cq8Q1EZgy8rYjCqTzHMYu49GXz8PNpoS3yHCUj0HWTSEXIBmpInREJ1JGsc9b+RKk9IKEFMY9S QRYQUc7GyTz+v07hNqhJhw==; Received: from ch-vpn.virtuozzo.com ([130.117.225.6] helo=LekKit-T14) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xA5nr-008Bis-2F; Fri, 25 Sep 2026 15:20:28 +0200 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Fri, 25 Sep 2026 16:18:51 +0300 Message-ID: <20260925132028.3630224-1-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.1 v3 0/2] selftests: pstore: fix backend/frontend skip X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org Patchset for task https://virtuozzo.atlassian.net/browse/VSTOR-142447. Changes in v3: 1/2: - Print "ok" with prlog once the backend check has passed. This can never set rc, so the "if [ $rc -ne 0 ]" exit below it was unreachable; drop it. - Drop one of the two blank lines left in pstore_post_reboot_tests where ksft_skip was defined. - Rewrite the message: the existing check tests the exit status of cat, not the value it reads, which is why it passes on an unregistered backend. "latter" -> "later". - Cut the comment above the check to one line. 2/2: - Cut the comment to one line, the reason is in the message. - Carries Konstantin's Reviewed-by from v2. Link to v2: https://lists.openvz.org/pipermail/devel/2026-September/085069.html Changes in v2: 1/2: - Fix the verdict of the existing backend check in place instead of appending a second check at the end of common_tests, so the output no longer says "ok" and then skips. - Skip where the parameter file is absent as well: pstore is tristate, and a module that is not loaded leaves no file. - Keep the backend and cmdline diagnostics in the skip case. - Write the test as [ ] || [ ], -o inside [ ] is obsolete. - Define ksft_skip in common_tests, with the canonical comment, and drop the copy in pstore_post_reboot_tests. 2/2: - New patch, split out as asked in the review of v1: the console and pmsg frontends are separate options from the backend and need skips of their own. Link to v1: https://lists.openvz.org/pipermail/devel/2026-September/084981.html Eva Kurchatova (2): selftests: pstore: skip when no backend is registered selftests: pstore: skip the frontends the kernel does not have tools/testing/selftests/pstore/common_tests | 17 ++++++++++++----- .../selftests/pstore/pstore_post_reboot_tests | 3 --- tools/testing/selftests/pstore/pstore_tests | 18 ++++++++++++------ 3 files changed, 24 insertions(+), 14 deletions(-) -- 2.55.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel