Fix unit test expected results since we now exit with an error code.
Fix unit test expected results since we now exit with an error code.
Fix unit test expected results since we now exit with an error code.
Fix unit test expected results since we now exit with an error code.
Fix unit test expected results since we now exit with an error code.
Fix unit test expected results since we now exit with an error code.
Adapt to expected output
Test expected outout and raise expected errors if syslog is not available.
Provide a path which should fail.
Fix the syndic test
Merge pull request #9838 from s0undt3ch/hotfix/unit-tests

unit tests fixes