#!/bin/bash # # HTTPS crawl against the local test server, using the shipped self-signed # cert. httrack does not verify certs (htslib.c: SSL_CTX_new with no # SSL_CTX_set_verify), so the self-signed cert is accepted as-is and this # exercises the real TLS path offline. basic.html links to link.html with four # distinct query strings, each saved under a hashed name -> 5 files. : "${top_srcdir:=..}" if test "$HTTPS_SUPPORT" == "no"; then echo "no https support compiled, skipping" exit 77 fi bash "$top_srcdir/tests/local-crawl.sh" --tls --errors 0 --files 5 \ --found 'simple/basic.html' \ httrack 'BASEURL/simple/basic.html'