X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=installcheck%2FAmanda_Changer_multi.pl;h=4c666662c263ae333fa6ffdfeae10390d5795019;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=138fe93b692348e5df25e9e9036fb6d09756ff2e;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e;p=debian%2Famanda diff --git a/installcheck/Amanda_Changer_multi.pl b/installcheck/Amanda_Changer_multi.pl index 138fe93..4c66666 100644 --- a/installcheck/Amanda_Changer_multi.pl +++ b/installcheck/Amanda_Changer_multi.pl @@ -380,26 +380,20 @@ Amanda::MainLoop::run(); f_type => undef, label => undef, reserved => 0 }, { slot => 2, state => Amanda::Changer::SLOT_FULL, - device_status => ($DEVICE_STATUS_DEVICE_ERROR | - $DEVICE_STATUS_VOLUME_UNLABELED | - $DEVICE_STATUS_VOLUME_ERROR), - f_type => undef, label => undef, + device_status => $DEVICE_STATUS_VOLUME_UNLABELED, + f_type => $Amanda::Header::F_EMPTY, label => undef, reserved => 0 }, { slot => 3, state => Amanda::Changer::SLOT_FULL, - device_status => ($DEVICE_STATUS_DEVICE_ERROR | - $DEVICE_STATUS_VOLUME_UNLABELED | - $DEVICE_STATUS_VOLUME_ERROR), - f_type => undef, label => undef, + device_status => $DEVICE_STATUS_VOLUME_UNLABELED, + f_type => $Amanda::Header::F_EMPTY, label => undef, reserved => 0 }, { slot => 4, state => Amanda::Changer::SLOT_FULL, device_status => $DEVICE_STATUS_SUCCESS, f_type => $Amanda::Header::F_TAPESTART, label => "FOO?BAR", reserved => 0, current => 1 }, { slot => 5, state => Amanda::Changer::SLOT_FULL, - device_status => ($DEVICE_STATUS_DEVICE_ERROR | - $DEVICE_STATUS_VOLUME_UNLABELED | - $DEVICE_STATUS_VOLUME_ERROR), - f_type => undef, label => undef, + device_status => $DEVICE_STATUS_VOLUME_UNLABELED, + f_type => $Amanda::Header::F_EMPTY, label => undef, reserved => 0 }, ], "inventory finds the labeled tape");