public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH installer] test: kernel-cmdline: drop explicit import list for Install::Config
Date: Tue, 23 Sep 2025 14:14:56 +0200	[thread overview]
Message-ID: <20250923121457.1149423-1-c.heiss@proxmox.com> (raw)

The subroutine is called with the full module path anyway, this just
causes the following warning when running the tests:

Attempt to call undefined import method with arguments ("parse_kernel_cmdline") via package "Proxmox::Install::Config" (Perhaps you forgot to load the package?) at ./parse-kernel-cmdline.pl line 10.

No functional changes.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
 test/parse-kernel-cmdline.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/parse-kernel-cmdline.pl b/test/parse-kernel-cmdline.pl
index b236734..7c849c5 100755
--- a/test/parse-kernel-cmdline.pl
+++ b/test/parse-kernel-cmdline.pl
@@ -7,7 +7,7 @@ use Test::More;
 use Test::MockModule qw(strict);
 
 use Proxmox::Install::RunEnv;
-use Proxmox::Install::Config qw(parse_kernel_cmdline);
+use Proxmox::Install::Config;
 
 my $proxmox_install_runenv = Test::MockModule->new('Proxmox::Install::RunEnv');
 my $proxmox_install_isoenv = Test::MockModule->new('Proxmox::Install::ISOEnv');
-- 
2.50.1



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


                 reply	other threads:[~2025-09-23 12:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250923121457.1149423-1-c.heiss@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal