bareos: bareos-19.2 bf4250b8

Author Committer Branch Timestamp Parent Ported
arogge arogge bareos-19.2 2020-02-07 10:30:21 bareos-19.2 b744d9fd Pending
Affected Issues  0001180: CRC checksum algorithm changed between 18.2.7 and 19.2.5, all volumes fail
Changeset tests: test crc32 with a real label block

Bug 0001180: CRC checksum algorithm changed between 18.2.7 and 19.2.5

Previously the crc32 tests did only rudimentary changes, but did not
check with a real bareos block. This patch now adds a dumped label block
from a test-installation and calculates the checksum for that.
This patch also changes the pattern for another test, so it triggers on
an endianess problem too.

(cherry picked from commit 4e482a27661ae6221e077811b714e6cb985fdb5e)
mod - core/src/tests/test_crc32.cc Diff File