* [pve-devel] [PATCH installer] test: kernel-cmdline: drop explicit import list for Install::Config
@ 2025-09-23 12:14 Christoph Heiss
0 siblings, 0 replies; only message in thread
From: Christoph Heiss @ 2025-09-23 12:14 UTC (permalink / raw)
To: pve-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-23 12:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-23 12:14 [pve-devel] [PATCH installer] test: kernel-cmdline: drop explicit import list for Install::Config Christoph Heiss
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.