bareos: master 06ae16d1

Author Committer Branch Timestamp Parent
arogge_adm arogge_adm master 2019-03-07 15:39 master fb2869b5 Pending
Changeset tests: add some basic tests for device reservation

This patch adds a gmock-based test suite that tests
some of the countless code paths of UseDeviceCmd().
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/bsock_mock.h Diff File
add - core/src/tests/configs/sd_reservation/README.txt Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/auto1.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/auto2.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/single1.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/single2.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/single3.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/storage/myself.conf.in Diff File
add - core/src/tests/sd_reservation.cc Diff File