Closed sdaoden closed 2 years ago
Merde. I try to look what has changed in the test series.
Ok now the tests pass with the new test framework. I had forgotten the commented off-by-one (in my code) that was still present in the original .. i fixed it and removed the comment. Otherwise identical to the first series.
Hi, sorry for the late reply on this. I've been swamped with other work and also been changing $DAYJOB, so haven't had much time or energy to go through all PRs and issues on GitHub until now. Also, as you mention, we have a bit of history from before and I've honestly been holding off reviewing this much because of that.
Now, I've checked out this your initial branch, looked over the code changes and test. Besides from the actual review (coming up), I have the following general feedback:
--enable-notifiers
, which would also help keep down the size a bit.SIGHUP
case. E.g., if a user removes a notifier from their .conf file, the old one still lingers, right?~ -- My bad, missed the free()
traversal in close_open_log_files()
.FAIL()
, SKIP()
, etc. functions to ensure the correct return codesI'll do a detailed review now, using the GitHub PR review.
Hello, thanks for looking. This is autotools right, i had to look, but surely could do this. I think i adjusted the test from other tests around, that second instance i mean, iirc, but of course i can try to improve this if you desire! Just keep on going.
I will look into this next week, ok? Thanks for doing this.
Considering how long it took me to respond, of course! :)
That also gives me time to clean up the test code a bit. Got quite a ways tonight, will continue tomorrow.
Thanks again for your interest in adding this. On my github fork there is also the suggested notify_optional implementation in a branch of that name. I .. would rather not open a pull request, i find it makes the code ugly due to all the conditionals?
On my github fork there is also the suggested notify_optional implementation in a branch of that name. I .. would rather not open a pull request, i find it makes the code ugly due to all the conditionals?
OK, I'll have a look later, but you''re probably right.
Funnily exactly 2 years after my private-mail attempt, now also on github (though i do not like it, just to lessen burden on people like you), here is the notify script patch again. Note i have split the test out into a separate commit, i have not tried the test ever since. The code i use ever since, too.