aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/fail.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/fail.t b/t/fail.t
index c8f4b58..fee20bd 100755
--- a/t/fail.t
+++ b/t/fail.t
@@ -65,7 +65,11 @@ set_lo();
script (qw/ sboinstall failingslackbuild /, { input => "y\ny", expected => qr/Failures:\n failingslackbuild: failingslackbuild.SlackBuild return non-zero\n\z/, exit => 3 });
# 2: Failing download
-script (qw/ sboinstall failingdownload /, { input => "y\ny\nn", expected => qr!Failures:\n failingdownload: Unable to wget http://www[.]pastemobile[.]org/perf[.]dummy[.]fail[.]\n\z!, exit => 5 });
+SKIP: {
+ skip "Not doing online tests", 1 unless $ENV{TEST_ONLINE};
+
+ script (qw/ sboinstall failingdownload /, { input => "y\ny\nn", expected => qr!Failures:\n failingdownload: Unable to wget http://www[.]pastemobile[.]org/perf[.]dummy[.]fail[.]\n\z!, exit => 5 });
+}
# Cleanup
END {