]> git.proxmox.com Git - pve-common.git/commit - src/PVE/Tools.pm
tools: add is_deeply
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 16 Nov 2023 15:21:48 +0000 (16:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Nov 2023 08:24:09 +0000 (09:24 +0100)
commit15645af168557bcae180d0145d33ac1034876bde
treeb52a2e6cbfbd6c5f617bab602122ed35143af266
parente42f1dd6a137b1e527826665802cd6f8195131c0
tools: add is_deeply

to compare nested hashes/lists and scalar values recursively.
Also includes some tests

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Tools.pm
test/Makefile
test/is_deeply_test.pl [new file with mode: 0755]