bareos: master 68710b79
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
bruno-at-bareos | bruno-at-bareos | master | 2024-03-14 10:56 | master 482973fb | Pending |
Changeset | scripts: mtx-changer replace perl usage by awk - add max_wait_drive variable with a default of 300s which can be extended in the mtx-changer.conf file to larger value (maybe needed for LTO9 drive due to calibration) - use awk expression if most cases - unify the way we use awk (-F, double quotes, etc) - shfmt -i2 -ci - shellcheck code - systemtests: add mtx-changer test - trim trailing whitespace on list cmd - improve readability of longer awk code use direct input in awk expression without variables Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> |
||||
mod - core/scripts/mtx-changer.conf | Diff File | ||||
mod - core/scripts/mtx-changer.in | Diff File | ||||
mod - systemtests/tests/CMakeLists.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/CMakeLists.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/etc/bareos/mtx-changer.conf | Diff File | ||||
add - systemtests/tests/mtx-changer/list-empty.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/list-impexp.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/list-loaded1.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/list-loaded2.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/list-loadedboth.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/list-notloaded.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/listall-empty.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/listall-impexp.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/listall-loaded1.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/listall-loaded2.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/listall-loadedboth.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/listall-notloaded.expected | Diff File | ||||
add - systemtests/tests/mtx-changer/mock-mtx | Diff File | ||||
add - systemtests/tests/mtx-changer/mtx-status-empty.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/mtx-status-impexp.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/mtx-status-loaded1.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/mtx-status-loaded2.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/mtx-status-loadedboth.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/mtx-status-notloaded.txt | Diff File | ||||
add - systemtests/tests/mtx-changer/test-cleanup | Diff File | ||||
add - systemtests/tests/mtx-changer/test-setup | Diff File | ||||
add - systemtests/tests/mtx-changer/testrunner-list | Diff File | ||||
add - systemtests/tests/mtx-changer/testrunner-listall | Diff File |