From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 62FBF45CFB; Thu, 14 Nov 2024 01:14:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 390F5402BC; Thu, 14 Nov 2024 01:14:16 +0100 (CET) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id 44AA4402A1 for ; Thu, 14 Nov 2024 01:14:14 +0100 (CET) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-71e681bc315so7516b3a.0 for ; Wed, 13 Nov 2024 16:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731543253; x=1732148053; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cZp1Yg6JFMlP588EuTj3w7rYf70zyb3r/gMyHM6Y7xo=; b=OceBjhe5Gmzwb1q6rsE8gOVs30uzGKGls8Y4R4R0CfSASYrGx20cN6uBt/UFJBLknV h8l9gctLEPt7nijr4Ajme49tPSjc6kwqDQozhpc+NLg5qvuuLJQtq748TLW4LjUZlP+H AoK+m1EMafztkuvRdKc6JALvRhJB0CjL+AeYtcT9oc5Q0qn8/Bu3t2Xuwd1aYkQJ/eMs KVvBue5YLNpkTOV7Y28x1x1FAu1g5j+CYYRXPteIg3KeBhULZWPKjqsiDkmfJ2kpxGxz gnQbeERKQ2wqvbL57vyWA+5MKEryBpu96h6aKDn1pgv4zJy0VwGu/Hk4FAfOw/09TTMI MEFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731543253; x=1732148053; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cZp1Yg6JFMlP588EuTj3w7rYf70zyb3r/gMyHM6Y7xo=; b=UajNyRa83X4xhq1qz4+rOWEIaOpFrsAecoJbcnvLthLRzBAmzuSUIwrooeNpgpFXpC 9zciYYI4BVEMf1qeyfoJk2pmp1+VYIU3lKiVN8NvCc/IZMn1xhigi+F0+G9hWAialbfQ mLuApWUXhxupNEI6xf1ubIt0Sz58fuvfwnR1GD0MO74aOIPieUTMsD9C7eanr2WEKvu3 CWyY7neDiHRDtrofN1J9VSrK5wVnEmgns/nfjN7zAe6z3/SRYAi1+I/LulfsU8MbwMu/ zuocZvYN5HweATujaGnBjcEymhH+YQk7kylfIIB7wUdO55Krt4CWGKnDheG260ILltgA 07Og== X-Gm-Message-State: AOJu0Ywmp3msxj1XVBrbDG9JCead0s1c5CsqmsRAlpXNYsOg73ADMM+F 7la7ZtT0DPuaGhCogcsOMDRLZ7I/WMPvmuS7Ns82MeiN+4JVoD425cXiy/hwcw9N0j01FGmsStE c X-Google-Smtp-Source: AGHT+IHJYKNZS1K4KnoCNoBKaUCIrJNnAXK6zQ6H8+YC9ZjSwafvK/4XJq9c7myihIEcenF33jGOgQ== X-Received: by 2002:a05:6a00:4285:b0:71e:52f0:1c28 with SMTP id d2e1a72fcca58-724663b4d9amr2436538b3a.0.1731543253244; Wed, 13 Nov 2024 16:14:13 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7246a9a81a9sm9280b3a.99.2024.11.13.16.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 16:14:12 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFC 00/10] unit test bugs Date: Wed, 13 Nov 2024 16:12:12 -0800 Message-ID: <20241114001403.147609-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Recent blog post from PVS studio referenced lots bugs found by their analyzer against DPDK. This set addresses the ones in the test suite. Stephen Hemminger (10): app/test: do not duplicate loop variable app/test: fix typo in mac address compare app/test: fix paren typo app/test: avoid duplicate initialization app/test: fix TLS zero length record test/eal: fix core check in c flag test app/test-pmd: remove redundant condition app/test-pmd: avoid potential outside of array reference app/test-dma-perf: fix parsing of dma address app/test: fix operator precedence bug app/test-dma-perf/main.c | 9 +++--- app/test-pmd/cmdline_flow.c | 2 +- app/test-pmd/config.c | 3 +- app/test/test_common.c | 31 ++++++++++--------- app/test/test_cryptodev.c | 5 +-- app/test/test_eal_flags.c | 4 +-- app/test/test_event_crypto_adapter.c | 24 ++++++-------- app/test/test_link_bonding.c | 9 ++---- app/test/test_security_inline_proto_vectors.h | 8 +++-- 9 files changed, 43 insertions(+), 52 deletions(-) -- 2.45.2