oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
607 stars 137 forks source link

Tests cleanup for daemonized mode #502

Closed jimklimov closed 4 years ago

jimklimov commented 4 years ago

Trying a follow-up for PR #501 addressing the #500 issue with make check, where Test::More returns two test results after checking daemonized mode and becomes confused.

Useful incantations for test-log inspection and comparison:

:; time make check 2>&1 | tee -a test-`date -u +%s`-check.log
:; time ./test.sh 2>&1 | tee -a test-`date -u +%s`-test.log
jimklimov commented 4 years ago

Huh, still make check failed for me on at least one system... could viability of this forked mess depend on versions of Test::something modules?..

At the very least, even if tests fail - these messages are now concentrated to znapzend-daemonized.t script which is sort of commented to be a fishy use-case for this harness, and the populous other scripts succeed so we know their use-cases are not broken by a recent change in development.