local-crawl.sh waits 30s for local-server.py's "PORT <n>" line and matches it anywhere, because a cold Python start under a parallel make check lags past a second and a warning merged via 2>&1 can precede the line. Seventeen tests that launch the server directly carried an older copy of that loop: 5s, and only the first line of the log. macos-15 exposed it, failing 15 of them where macos-14 passed on margin, but nothing about the bug is macOS-specific. Move the proven idiom into testlib.sh next to stop_server and call it from all seventeen, which also gets them the log dump on failure that local-crawl.sh has and the inline copies did not -- the reason the CI failure said only "could not discover server port" with no way to tell a slow start from a dead server. Signed-off-by: Xavier Roche <roche@httrack.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
HTTrack Website Copier - Development Repository
About
Copy websites to your computer (Offline browser)
HTTrack is an offline browser utility, allowing you to download a World Wide website from the Internet to a local directory, building recursively all directories, getting html, images, and other files from the server to your computer.
HTTrack arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link, as if you were viewing it online.
HTTrack can also update an existing mirrored site, and resume interrupted downloads. HTTrack is fully configurable, and has an integrated help system.
WinHTTrack is the Windows 2000/XP/Vista/Seven release of HTTrack, and WebHTTrack the Linux/Unix/BSD release.
Website
Main Website: http://www.httrack.com/
Compile trunk release
A git checkout ships only the autotools sources, so ./bootstrap (which runs
autoreconf) regenerates configure first; this needs autoconf, automake and
libtool. Released tarballs already include configure, so building from a
tarball skips ./bootstrap.
git clone https://github.com/xroche/httrack.git --recurse-submodules
cd httrack
./bootstrap
./configure --prefix=$HOME/usr && make -j8 && make install
Or use the one-shot wrapper (bootstrap + configure + make), which forwards its
arguments to configure:
./build.sh --prefix=$HOME/usr