jimtcl
jimtcl copied to clipboard
Add tests for syslog
More to do, but this is a start....
The problem with adding these tests for syslog is that they spam the system log every time they are run, so their not very system-friendly. And they don't really test that the functionality is correct.
Sure, but at least they test whether the functions are broken or not....
There's little point having the functions in the system if you don't know whether they work properly.
Perhaps a constraint which is set manually by the user/CI could avoid the spamming? Or perhaps a mocked syslog function?
If someone wants to mock openlog/syslog/closelog and create some updated tests, I'm OK with that. Closing for now.