]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
fix tests when one has iscsi devices
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 7 Mar 2019 09:49:04 +0000 (10:49 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Mar 2019 10:08:43 +0000 (11:08 +0100)
commiteebcdb11194d9fadeefafaa11b16d02fc6ea3ca7
tree98b8d01e29504598e04033d472b3ed09d0fe932e
parent3add8714a97a3a633841bf6843d8fbb4618185c1
fix tests when one has iscsi devices

the test would read the real device and if one is an iscsi device
it would fail, move the test code to a sub and mock it in the tests

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Diskmanage.pm
test/disklist_test.pm