Re: unit tests fail due to extra output file wget-log

2023-07-26 Thread Nam Nguyen
Tim Rühsen writes: > I am currently not sure how to best solve it except by not running the > tests in the background. I propose these two patches to the perl and python testing scripts. They ignore wget-log. This makes the test suite more robust and these errors go away. --8<---cut

Re: unit tests fail due to extra output file wget-log

2023-07-01 Thread Tim Rühsen
Hey Nam, I see that wget unexpectedly writes a log file (from test-suite.log): Redirecting output to ‘wget-log’. In log.c, L973 (function check_redirect()), writing the log is caused by pid_t foreground_pgrp = tcgetpgrp (STDIN_FILENO); if (foreground_pgrp != -1 &&

unit tests fail due to extra output file wget-log

2023-06-30 Thread Nam Nguyen
I am trying to get unit tests to pass for the openbsd port of wget 1.21.4. 80 unit tests in test/ and more in testenv/ currently fail. test-suite.log: http://namtsui.com/public/wget-test-suite.txt All failing tests are of the form: --8<---cut