From patchwork Fri Aug 2 16:45:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 142871 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8CF3D4571D; Fri, 2 Aug 2024 18:47:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49B0540E72; Fri, 2 Aug 2024 18:46:44 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id A556140E25 for ; Fri, 2 Aug 2024 18:46:40 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-70d2b921cdfso7307250b3a.0 for ; Fri, 02 Aug 2024 09:46:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1722617200; x=1723222000; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t02lAfs34Pni/2ZXmpQgghP+jryqcTMWMgqfyt2gBr8=; b=jE1TyScdqKmWiMawPNoct1GR0GQMVPmnK5U4qDc3XUWuKt9DFBohxGq0GC8SmhMeDr op0a7iJgoJA1wboZrPtGfvTG2E7HnMeEpqP/s6GdIZh7DrZqmI9wFIOq3nz0KEAqIWv8 HZgls66Kez5NRt3FP8LZzLWqE1LlKLSt812iXq2ut/U+FCH5uch5PBRBp+lgw7pF+qLT uSerpTz7odm9aqYglIxRfczqt47H/Mjp+NWHOB13+qSkLLOg8JVd7LpTSgn2ktPMCGMF CFkfQ46Nf7FRQizYgbd5tI6ouCbAsxdzORK/K3OCVDHYyVJptW2uaQHxybPTCW8qhXbG 416A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722617200; x=1723222000; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t02lAfs34Pni/2ZXmpQgghP+jryqcTMWMgqfyt2gBr8=; b=e+VEIOhfNVEWFxDN+JT3ENOcLSnoKG6EXsYu479u+ohgNkLRU0+nzyIhCcECX9IVeI WM98lgqBqCirL/zwcMvXFx6OOGjfmTAGRdocTiN950zqp0U3f+amRPmDcx6BA1N/ACNa d7Hwt0wRjQYOjv6Gbiw3GDseT5KcU3fKJdOcAh6DGDHW3w62t2pfaAXdC8Dj3GxraXoT vMgar6oR8WC/3LOZuRKVyMnfssHvjJvUjZkotr2fjWPCi2jpFNw0OkjWL7vrLCWO3EDj B7eZkpd4M+zCI9gVCbiXZGyMsHyC3U5GtGJSpca89ZBsLGdZjJr8DJF9i34m2C+OIIcQ ogaQ== X-Gm-Message-State: AOJu0YzWagC8ba/3MEZ/W8jlz1bg47dj0NRkNPUbVu/DBfgmhIsgjakd v//AyV+x6cv7bJVRah5PDYq4TDSUff+IuisE/lDhellB/Qp+JBaDoIx2QywKW2o4F2X6oy74uT+ l X-Google-Smtp-Source: AGHT+IHkJsOlFtrTQBCiZpnD/i7CFweoUQJd1hAThjcVf5jku9MhWiVztjRJQ0LtXXRqCVIGiVHkew== X-Received: by 2002:aa7:8884:0:b0:705:be21:f2be with SMTP id d2e1a72fcca58-7106cfd2649mr5197924b3a.18.1722617199656; Fri, 02 Aug 2024 09:46:39 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7106ecdfec9sm1591011b3a.97.2024.08.02.09.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 09:46:39 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v5 4/4] test: rearrange test_cfgfiles cases Date: Fri, 2 Aug 2024 09:45:03 -0700 Message-ID: <20240802164626.389286-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240802164626.389286-1-stephen@networkplumber.org> References: <20240730225520.83314-1-stephen@networkplumber.org> <20240802164626.389286-1-stephen@networkplumber.org> MIME-Version: 1.0 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 The input files don't need to be in a separate subdirectory. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- app/test/test_cfgfiles/{etc => }/empty.ini | 0 .../test_cfgfiles/{etc => }/empty_key_value.ini | 0 .../test_cfgfiles/{etc => }/invalid_section.ini | 0 .../test_cfgfiles/{etc => }/line_too_long.ini | 0 app/test/test_cfgfiles/meson.build | 16 ++++++++-------- .../test_cfgfiles/{etc => }/missing_section.ini | 0 .../test_cfgfiles/{etc => }/realloc_sections.ini | 0 app/test/test_cfgfiles/{etc => }/sample1.ini | 0 app/test/test_cfgfiles/{etc => }/sample2.ini | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename app/test/test_cfgfiles/{etc => }/empty.ini (100%) rename app/test/test_cfgfiles/{etc => }/empty_key_value.ini (100%) rename app/test/test_cfgfiles/{etc => }/invalid_section.ini (100%) rename app/test/test_cfgfiles/{etc => }/line_too_long.ini (100%) rename app/test/test_cfgfiles/{etc => }/missing_section.ini (100%) rename app/test/test_cfgfiles/{etc => }/realloc_sections.ini (100%) rename app/test/test_cfgfiles/{etc => }/sample1.ini (100%) rename app/test/test_cfgfiles/{etc => }/sample2.ini (100%) diff --git a/app/test/test_cfgfiles/etc/empty.ini b/app/test/test_cfgfiles/empty.ini similarity index 100% rename from app/test/test_cfgfiles/etc/empty.ini rename to app/test/test_cfgfiles/empty.ini diff --git a/app/test/test_cfgfiles/etc/empty_key_value.ini b/app/test/test_cfgfiles/empty_key_value.ini similarity index 100% rename from app/test/test_cfgfiles/etc/empty_key_value.ini rename to app/test/test_cfgfiles/empty_key_value.ini diff --git a/app/test/test_cfgfiles/etc/invalid_section.ini b/app/test/test_cfgfiles/invalid_section.ini similarity index 100% rename from app/test/test_cfgfiles/etc/invalid_section.ini rename to app/test/test_cfgfiles/invalid_section.ini diff --git a/app/test/test_cfgfiles/etc/line_too_long.ini b/app/test/test_cfgfiles/line_too_long.ini similarity index 100% rename from app/test/test_cfgfiles/etc/line_too_long.ini rename to app/test/test_cfgfiles/line_too_long.ini diff --git a/app/test/test_cfgfiles/meson.build b/app/test/test_cfgfiles/meson.build index 068b61044a..348c78c7d9 100644 --- a/app/test/test_cfgfiles/meson.build +++ b/app/test/test_cfgfiles/meson.build @@ -1,14 +1,14 @@ # SPDX-License-Identifier: BSD-3-Clause test_cfgfiles = files( - 'etc/empty.ini', - 'etc/empty_key_value.ini', - 'etc/invalid_section.ini', - 'etc/line_too_long.ini', - 'etc/missing_section.ini', - 'etc/realloc_sections.ini', - 'etc/sample1.ini', - 'etc/sample2.ini', + 'empty.ini', + 'empty_key_value.ini', + 'invalid_section.ini', + 'line_too_long.ini', + 'missing_section.ini', + 'realloc_sections.ini', + 'sample1.ini', + 'sample2.ini', ) # generate the header file used in cfgfile test diff --git a/app/test/test_cfgfiles/etc/missing_section.ini b/app/test/test_cfgfiles/missing_section.ini similarity index 100% rename from app/test/test_cfgfiles/etc/missing_section.ini rename to app/test/test_cfgfiles/missing_section.ini diff --git a/app/test/test_cfgfiles/etc/realloc_sections.ini b/app/test/test_cfgfiles/realloc_sections.ini similarity index 100% rename from app/test/test_cfgfiles/etc/realloc_sections.ini rename to app/test/test_cfgfiles/realloc_sections.ini diff --git a/app/test/test_cfgfiles/etc/sample1.ini b/app/test/test_cfgfiles/sample1.ini similarity index 100% rename from app/test/test_cfgfiles/etc/sample1.ini rename to app/test/test_cfgfiles/sample1.ini diff --git a/app/test/test_cfgfiles/etc/sample2.ini b/app/test/test_cfgfiles/sample2.ini similarity index 100% rename from app/test/test_cfgfiles/etc/sample2.ini rename to app/test/test_cfgfiles/sample2.ini