[pve-devel] applied: [PATCH storage 2/2] tests: zfs: complain when a first sub-test dies

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Mar 15 13:57:48 CET 2021


On 12.03.21 10:50, Fabian Ebner wrote:
> Previously, $count was not increased and no test failure was reported.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> Found by messing up in the previous patch at first with:
>     my $res = map { $_ => [] } keys %{$ids};
> instead of
>     my $res = { map { $_ => [] } keys %{$ids} };
> and wondering why it failed in "production", but the test ran through.
> 
>  test/run_test_zfspoolplugin.pl | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list