summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-05 16:31:10 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-05 16:31:10 +0000
commitbd6573926deab4b7456f85a78e8c2594a4e2a052 (patch)
tree46566b691e88c989c8a5a7e4a5151ae9de826afe
parent8409f0d0e322b70c8907aa3eaf9de7d06912d438 (diff)
Logging
-rwxr-xr-xtests/check-network.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/check-network.sh b/tests/check-network.sh
index 3003aee..109c8c2 100755
--- a/tests/check-network.sh
+++ b/tests/check-network.sh
@@ -6,6 +6,7 @@
# do not enable online tests (./configure --disable-online-unit-tests)
if test "$ONLINE_UNIT_TESTS" == "no"; then
+echo "online tests are disabled" >&2
exit 1
# enable online tests (--enable-online-unit-tests)
@@ -26,6 +27,7 @@ if test -f $cache ; then
if grep -q "ok" $cache ; then
exit 0
else
+ echo "online tests are disabled (cached)" >&2
exit 1
fi
@@ -35,6 +37,7 @@ elif bash crawl-test.sh --errors 0 --files 1 httrack --timeout=3 --max-time=3 "$
exit 0
else
echo "error" > $cache
+ echo "online tests are disabled (auto)" >&2
exit 1
fi