]> git.proxmox.com Git - proxmox-backup.git/commit
tape: changer: add tests for decode_element_status_page
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 28 Jul 2021 10:05:11 +0000 (12:05 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Jul 2021 10:23:21 +0000 (12:23 +0200)
commit4f57f4ad84b13d100a72cdfbd51cddc22c5a25c4
tree5d2933cb28c95c0eaaacc6533a36ef933e0b1d48
parent13e13d836f8342537bd14d67512ac4f98719bbd9
tape: changer: add tests for decode_element_status_page

a test for a valid status_page, one with excess data
(in the descriptor as well in the page as a whole)
and a test with too little data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/tape/changer/sg_pt_changer.rs