bareos: master f32b030a

Author Committer Branch Timestamp Parent
stephand stephand master 2019-11-27 23:30 master d5f22772 Pending
Changeset Fix restore objects with sqlite

Due to wrong calculation of the base64 encoded length, the last
byte of each restore object was overwritten with null. A function
was added that returns the correct length now.

Additionally the system test python-fd-plugin-local-fileset-test was
enhanced so that it now also tests if restore objects work correctly.
mod - core/src/cats/cats.cc Diff File
mod - core/src/lib/base64.cc Diff File
mod - core/src/lib/base64.h Diff File
mod - systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in Diff File
add - systemtests/tests/python-fd-plugin-local-fileset-test/python-modules/BareosFdPluginLocalFilesetWithRestoreObjects.py Diff File
add - systemtests/tests/python-fd-plugin-local-fileset-test/python-modules/bareos-fd-local-fileset-with-restoreobjects.py Diff File