From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 180A28017D for ; Mon, 26 Oct 2026 12:43:19 +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 69QCg2kF010780; Mon, 26 Oct 2026 15:42:03 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69QCg2kF010780 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="I0LPCdC3" 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 69QCfiDe010733 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Mon, 26 Oct 2026 15:41:44 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69QCfiDe010733 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-48e17d30a79so1784264f8f.3 for ; Mon, 26 Oct 2026 05:41:44 -0700 (PDT) X-Gm-Message-State: AFq9FYI87LKISeyWlBwh6ovk7ZPxpKNsWCfA3eN18hEDIBPGYrQNPUBc UpxvS0GyIz9WdccFvdUJUhO/usD/i7gHonVwW3bNhtsfoeJ24uophn+HxA2UDh4vVGq0PwgeVmK jFSGU2FieJtyZHJ5JyEsPZuEXjJDmwUkWtr0DDXJClHslxNQ/7NoQhQ== X-Gm-Gg: AYBFou2vx1lWEnQpoXrGMXS/z7S4mK6ccHvNvro//3JZvvestTZELdqGfXJQrgwOaER IALKsvQ3fZCSrgVwiLZIc3dVpcZ7kmRw1RErD+sqKWpDiBy53YdS49qh9nOI+t0zs6uDVvy3E2e YNd+H0RO5aU50bw4DGJuNTvciPptpvEF4qwZBCmaa4b9AjVNRsRGO4HGWlKm+MFGNKzJCzzvxP8 o0PLC/TWVT1WIls835lYX2P4QHwGhGPKCr8DeDQuOf6hehAP/HoZO40C36cH4ht5gXdg2oWz7en 9fwDBNGOL2Yv5Gr1XTGsRIKaLKdAIfq2A9oazdYEtROYmdx8FsKQPsQFEl/3P/iJb7MxQxGP3/y hmKgljnm2LFYBNrEKhtXrR/N9Qw== X-Received: by 2002:a05:600c:a013:b0:4a1:dadf:9876 with SMTP id 5b1f17b1804b1-4a35acb3e07mr132517945e9.23.1793018503922; Mon, 26 Oct 2026 05:41:43 -0700 (PDT) X-Received: by 2002:a05:600c:a013:b0:4a1:dadf:9876 with SMTP id 5b1f17b1804b1-4a35acb3e07mr132517235e9.23.1793018503377; Mon, 26 Oct 2026 05:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1793018503; cv=none; d=google.com; s=arc-20260327; b=bGtNJuaOLYJzL3iKTXOie7qD0XQrROLZTucu4PHUXkErkiiEJZTi/9d5YDmSDaAUwb qKhgbicdfSzh+E2q6NUJf63PrrmvZTvgq7qKUxgnQM4sdpyIhDcJEw3xojygVlnEzZL4 /zIOkthcj5WE0KdR+vfABW5A7+U9iylwDzoJh+r/ey+te49/o52kBvwVV2oTR3GcsrOn xbe/Jlk71N9bjm4+Luj94wiIKZHpGo2LW5ha4P+/f2+6h0iBKCyK7sCbGgNML5wW2B0Q Jo2/ChuXi90kmk8Ff7TPc0+GnzK3OQuwQ6ig2P9wLAAbJRqILIrLUN1sM1HV2gh1wZTF ud0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RPYf4O0sBAcYM1m4+2I8Zgd0QkTBVHwid4Oxy93nk/U=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=G1xlofl9yEkdch8yggi6GaBvfcjSiOyivb9WdUmrb0MjdrOlX1flhotB9yN81GiN+V 2+ZYj1Kt9G8UZDLwXL9pFGWPN71Uf6gZwM45ah9IkmP7gE0Ci3bgjYqPcLdYOWfnDEQ2 k1nCYAtkxSCUuGngKXdIG6FO0THjXJXQ+bZRizhVA2vCKX57xXBwBzqX6ZuZ9HhcHjBh b9LyaPewUltPAfrsuWIbj3284grbd5er7yJPKoX7aT2melrx6WyULyGaSpkfezNKqbBF Yz7oBpZMAhzIDYvCYhOUqzEbFawr+tDV3dYmTxlS8xpblsYY2GmWOaBkAjss0e3PEFHj HsaA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=I0LPCdC3; 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-48e3ed27121si12920544f8f.450.2026.10.26.05.41.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2026 05:41:43 -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=I0LPCdC3; 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=RPYf4O0sBAcYM1m4+2I8Zgd0QkTBVHwid4Oxy93nk/U=; b=I0LPCdC32HX5 Xd059Xs2UdixgnstVC3Dv3aYicgm2DjdT+jrazCLxvNQLuQU4glub3hlWE1pF9Mbk8xthA3eAmIkw FYZvgvWy5BkvkyLustvP6BMZg6svv1VPKoIq/DcZX++8xYp6+GbTh1Z5KfYlvzM9dpnsVByf1oOZp opjHB+SpBFzzn3fEEHwnX+VioqnmIYqnPuhWH2W3plVfNjd9tdJh5FLao91+aUEh8deR/uIfUDaZG 7LDynW1LiDxpwb8mS7ZHv2Mn4vGIcH2BhTBRU5F3eo1gcTtjMnkDZUakDcRFDuynRdQALw150NpHk cSSh3AN/DCiwz9T7gID7GA==; 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 1xLJxX-002Tnz-34; Mon, 26 Oct 2026 13:41:34 +0100 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Mon, 26 Oct 2026 14:40:14 +0200 Message-ID: <20261026124139.606106-6-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261026124139.606106-1-eva.kurchatova@virtuozzo.com> References: <20261026124139.606106-1-eva.kurchatova@virtuozzo.com> MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.1 5/6] selftests/futex: fail run.sh when a test fails 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 run.sh runs the tests one after the other and exits with the status of the last one, so a failure in any other was reported as a pass. Exit with a failure when any test did. https://virtuozzo.atlassian.net/browse/VSTOR-134205 Feature: fix selftests Signed-off-by: Eva Kurchatova --- .../testing/selftests/futex/functional/run.sh | 66 ++++++++++--------- 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/tools/testing/selftests/futex/functional/run.sh b/tools/testing/selftests/futex/functional/run.sh index 5470088dc4df..39e71d91bebf 100755 --- a/tools/testing/selftests/futex/functional/run.sh +++ b/tools/testing/selftests/futex/functional/run.sh @@ -30,61 +30,65 @@ if [ "$USE_COLOR" -eq 1 ]; then COLOR="-c" fi +ret=0 + echo # requeue pi testing # without timeouts -./futex_requeue_pi $COLOR -./futex_requeue_pi $COLOR -b -./futex_requeue_pi $COLOR -b -l -./futex_requeue_pi $COLOR -b -o -./futex_requeue_pi $COLOR -l -./futex_requeue_pi $COLOR -o +./futex_requeue_pi $COLOR || ret=1 +./futex_requeue_pi $COLOR -b || ret=1 +./futex_requeue_pi $COLOR -b -l || ret=1 +./futex_requeue_pi $COLOR -b -o || ret=1 +./futex_requeue_pi $COLOR -l || ret=1 +./futex_requeue_pi $COLOR -o || ret=1 # with timeouts -./futex_requeue_pi $COLOR -b -l -t 5000 -./futex_requeue_pi $COLOR -l -t 5000 -./futex_requeue_pi $COLOR -b -l -t 500000 -./futex_requeue_pi $COLOR -l -t 500000 -./futex_requeue_pi $COLOR -b -t 5000 -./futex_requeue_pi $COLOR -t 5000 -./futex_requeue_pi $COLOR -b -t 500000 -./futex_requeue_pi $COLOR -t 500000 -./futex_requeue_pi $COLOR -b -o -t 5000 -./futex_requeue_pi $COLOR -l -t 5000 -./futex_requeue_pi $COLOR -b -o -t 500000 -./futex_requeue_pi $COLOR -l -t 500000 +./futex_requeue_pi $COLOR -b -l -t 5000 || ret=1 +./futex_requeue_pi $COLOR -l -t 5000 || ret=1 +./futex_requeue_pi $COLOR -b -l -t 500000 || ret=1 +./futex_requeue_pi $COLOR -l -t 500000 || ret=1 +./futex_requeue_pi $COLOR -b -t 5000 || ret=1 +./futex_requeue_pi $COLOR -t 5000 || ret=1 +./futex_requeue_pi $COLOR -b -t 500000 || ret=1 +./futex_requeue_pi $COLOR -t 500000 || ret=1 +./futex_requeue_pi $COLOR -b -o -t 5000 || ret=1 +./futex_requeue_pi $COLOR -l -t 5000 || ret=1 +./futex_requeue_pi $COLOR -b -o -t 500000 || ret=1 +./futex_requeue_pi $COLOR -l -t 500000 || ret=1 # with long timeout -./futex_requeue_pi $COLOR -b -l -t 2000000000 -./futex_requeue_pi $COLOR -l -t 2000000000 +./futex_requeue_pi $COLOR -b -l -t 2000000000 || ret=1 +./futex_requeue_pi $COLOR -l -t 2000000000 || ret=1 echo -./futex_requeue_pi_mismatched_ops $COLOR +./futex_requeue_pi_mismatched_ops $COLOR || ret=1 echo -./futex_requeue_pi_signal_restart $COLOR +./futex_requeue_pi_signal_restart $COLOR || ret=1 echo -./futex_wait_timeout $COLOR +./futex_wait_timeout $COLOR || ret=1 echo -./futex_wait_wouldblock $COLOR +./futex_wait_wouldblock $COLOR || ret=1 echo -./futex_wait_uninitialized_heap $COLOR -./futex_wait_private_mapped_file $COLOR +./futex_wait_uninitialized_heap $COLOR || ret=1 +./futex_wait_private_mapped_file $COLOR || ret=1 echo -./futex_wait $COLOR +./futex_wait $COLOR || ret=1 echo -./futex_requeue $COLOR +./futex_requeue $COLOR || ret=1 echo -./futex_waitv $COLOR +./futex_waitv $COLOR || ret=1 echo -./futex_priv_hash $COLOR +./futex_priv_hash $COLOR || ret=1 echo -./futex_numa_mpol $COLOR +./futex_numa_mpol $COLOR || ret=1 + +exit $ret -- 2.56.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel