summaryrefslogtreecommitdiff
path: root/tests/12_crawl_https.test
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-05 19:00:53 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-05 19:00:53 +0000
commit61f0cec9c85ec3689169f5df08ce8866cb5e6a0f (patch)
tree4fbee97673b6151c13d19f7b0e57cb9d19399a6b /tests/12_crawl_https.test
parent6fd01e85701c77d339041a68cff09ffb2b4348ba (diff)
Added a basic https unit test.
Diffstat (limited to 'tests/12_crawl_https.test')
-rwxr-xr-xtests/12_crawl_https.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/12_crawl_https.test b/tests/12_crawl_https.test
new file mode 100755
index 0000000..48ae3ce
--- /dev/null
+++ b/tests/12_crawl_https.test
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+
+bash check-network.sh || ! echo "skipping online unit tests" || exit 77
+
+if test "$HTTPS_SUPPORT" == "no"; then
+ echo "no https support compiled, skipping"
+ exit 77
+fi
+
+bash crawl-test.sh --errors 0 --files 5 httrack https://ut.httrack.com/simple/basic.html