Changesets: bareos

master b17e3f4e

2023-05-10 14:55

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: add dmsg related to change time
mod - core/src/win32/compat/compat.cc Diff File

master 355d2018

2023-05-10 13:59

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
directly use addresses
mod - core/src/tests/addresses_and_ports_functions.cc Diff File

master 7c14262c

2023-05-10 08:34

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: fix removing wrong slashes

We should not remove slashes that are preceded by a colon since there
is a big difference for windows between "C:" and "C:\\", "C:/".
mod - core/src/win32/compat/compat.cc Diff File

master 0f149c42

2023-05-10 08:29

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: delete cache between tests

Since our char -> wchar functions cache their results we need to
ensure that
1) we do not use the same path twice in the same tests after another
since then we would only test our cache; and
2) we clear the cache between test runs
1) has to be done manually but 2) can be done by clearing the cache in
the TearDown() of the fixture. This works because gtest does not
reuse fixtures for tests but instead recreates them for every test.
mod - core/src/tests/test_path_conversion.cc Diff File

master 83a8ea75

2023-05-09 12:41

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: replace ConvertNormalized by ReplaceSlashes
mod - core/src/win32/compat/compat.cc Diff File

master 0c9e78d6

2023-05-09 12:40

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: add new test cases
mod - core/src/tests/test_path_conversion.cc Diff File

master 6ee68b14

2023-05-09 11:58

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
apply bareos-check-sources
mod - core/src/lib/address_conf.cc Diff File
mod - core/src/lib/address_conf.h Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tests/addresses_and_ports_functions.cc Diff File
mod - core/src/tests/dlist_test.cc Diff File
mod - core/src/tests/test_config_parser_fd.cc Diff File

master 96e62937

2023-05-09 11:54

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
update addresses and ports tests
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/addresses_and_ports_functions.cc Diff File

master c6ebd217

2023-05-09 11:27

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
applying review suggestions
mod - core/src/lib/address_conf.cc Diff File
mod - core/src/lib/address_conf.h Diff File

master 22a28617

2023-05-09 06:50

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: add tests for slash replacement
mod - core/src/tests/test_path_conversion.cc Diff File

master 79713dbb

2023-05-09 06:49

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: check long path behaviour
mod - core/src/tests/test_path_conversion.cc Diff File

master c8906d2f

2023-05-09 06:49

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: use mock vss functions
mod - core/src/tests/test_path_conversion.cc Diff File

master a6680a34

2023-05-09 06:47

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: replace slashes even in literal paths
mod - core/src/win32/compat/compat.cc Diff File

master 2a60891a

2023-05-09 06:47

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: move RemoveTrailingSlashes into calling fn
mod - core/src/win32/compat/compat.cc Diff File

master 0361d985

2023-05-09 06:45

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: adjust literal/normalized path detection

Now we do not care specifically about backward slashes. Any slash is
ok!
mod - core/src/win32/compat/compat.cc Diff File

master 9d859e65

2023-05-09 06:44

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: remove unused functions
mod - core/src/tests/test_path_conversion.cc Diff File

master 04e20471

2023-05-09 06:43

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
baconfig: add assertions
mod - core/src/include/baconfig.h Diff File

master 2c16b7eb

2023-05-08 19:13

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
add WSA_init to test_config_parser_fd
mod - core/src/tests/test_config_parser_fd.cc Diff File

master f690c859

2023-05-08 15:51

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
extend waiting length
mod - core/src/lib/address_conf.cc Diff File

master 80743c9d

2023-05-08 15:11

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
use test fixtures and setup with InitDirGlobals
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File

master 7c34b144

2023-05-08 14:50

bruno-at-bareos


Committer: pstorz

Ported: N/A

Details Diff
python-bareos: add missing dirname

- fix systemtest failure system:python-bareos:filedaemon
`dirname is not defined`

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - python-bareos/bareos/bsock/filedaemon.py Diff File

master 9ea55a4b

2023-05-08 09:56

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: rename bareos_plugin_interface_version -> basic_info
mod - core/src/win32/compat/compat.cc Diff File

master 3ec20dde

2023-05-05 12:41

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: added "regression" tests for path conversion
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/compat_old_conversion.cc Diff File
add - core/src/tests/compat_old_conversion.h Diff File
mod - core/src/tests/test_path_conversion.cc Diff File

master 06b5c58c

2023-05-05 12:08

bruno-at-bareos


Committer: pstorz

Ported: N/A

Details Diff
systemd: improve onfailure and restart

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/platforms/systemd/bareos-dir.service.in Diff File
mod - core/platforms/systemd/bareos-fd.service.in Diff File
mod - core/platforms/systemd/bareos-sd.service.in Diff File
mod - debian/bareos-director.service.in Diff File
mod - debian/bareos-filedaemon.service.in Diff File
mod - debian/bareos-storage.service.in Diff File

master 2a9b7779

2023-05-05 11:25

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: prepare path conversion tests
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/test_path_conversion.cc Diff File
 First  Prev  1 2 3 ... 70 ... 115 116 117 118 119 120 121 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 678 679 680  Next  Last