diff options
| author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 13:24:39 +0100 | 
|---|---|---|
| committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 22:52:46 +0100 | 
| commit | 3ad19817afa5d13baadafcfb59744831893c23b9 (patch) | |
| tree | e2f1f7e06390b61d40f6a371d0d8714e2e5f76f7 | |
| parent | 15742f5186e42f40c0a04402c9f15f880ce79196 (diff) | |
| download | sbotools2-3ad19817afa5d13baadafcfb59744831893c23b9.tar.xz | |
Only do download test if TEST_ONLINE=1
| -rwxr-xr-x | t/fail.t | 6 | 
1 files changed, 5 insertions, 1 deletions
@@ -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 {  | 
