diff options
Diffstat (limited to 'src/tcp/__tcp_properties__.cc')
-rw-r--r-- | src/tcp/__tcp_properties__.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tcp/__tcp_properties__.cc b/src/tcp/__tcp_properties__.cc index 4ca11e7..e03f229 100644 --- a/src/tcp/__tcp_properties__.cc +++ b/src/tcp/__tcp_properties__.cc @@ -95,7 +95,11 @@ Undocumented internal function.\n\ } #if 0 %!shared ip -%! ip = resolvehost("www.octave.org", "address"); +%! try +%! ip = resolvehost("www.octave.org", "address"); +%! catch +%! warning ("Network access is neede for running the unit tests."); +%! end_try_catch %!xtest %! # test get |