]> git.proxmox.com Git - pve-common.git/commitdiff
test: import JSON for quicker debugging
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Sep 2021 10:36:53 +0000 (12:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Sep 2021 10:56:09 +0000 (12:56 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
test/etc_network_interfaces/runtest.pl

index b5277c3b1b0350c9b448330d489dcbd3e5d5be16..f92f5aeb2d4f5488f980d69817cdee2d4e107b43 100755 (executable)
@@ -9,6 +9,7 @@ use Carp;
 use POSIX;
 use IO::Handle;
 use Storable qw(dclone);
+use JSON; # allows simple debug-dumping of variables  `print to_json($foo, {pretty => 1}) ."\n"`
 
 use PVE::INotify;