diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-05 16:31:10 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-05 16:31:10 +0000 |
commit | bd6573926deab4b7456f85a78e8c2594a4e2a052 (patch) | |
tree | 46566b691e88c989c8a5a7e4a5151ae9de826afe | |
parent | 8409f0d0e322b70c8907aa3eaf9de7d06912d438 (diff) |
Logging
-rwxr-xr-x | tests/check-network.sh | 3 |
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 |