summaryrefslogtreecommitdiff
path: root/tests/10_crawl-simple.test
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-04 17:18:25 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-04 17:18:25 +0000
commit142a8e255a3f6b25793fe34cd2b91ac3600735fd (patch)
tree8c94deabb862c929f5041c238fdb487ce4f0e281 /tests/10_crawl-simple.test
parentda40771dee246bd6649d07cf0247e5547e022097 (diff)
Do not execute tests unless external network is available.
Diffstat (limited to 'tests/10_crawl-simple.test')
-rwxr-xr-xtests/10_crawl-simple.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/10_crawl-simple.test b/tests/10_crawl-simple.test
index a05364b..c6910d8 100755
--- a/tests/10_crawl-simple.test
+++ b/tests/10_crawl-simple.test
@@ -1,4 +1,6 @@
#!/bin/bash
#
+bash check-network.sh || ! echo "no network; skipping" || exit 77
+
bash crawl-test.sh --errors 0 --files 5 httrack http://ut.httrack.com/simple/basic.html