X-Git-Url: http://git.shiar.net/barcat.git/blobdiff_plain/c75806dd84692e5729c4605eec15e65996ac760f..91ce4ce83b0d578d8daeb8c57641c3661c745b8b:/t/examples.t diff --git a/t/examples.t b/t/examples.t index 0f313ec..c9b285e 100755 --- a/t/examples.t +++ b/t/examples.t @@ -2,7 +2,6 @@ use 5.014; use warnings; use re '/ms'; -use IPC::Run 'run'; use Test::More; { # silence fail diagnostics because of single caller @@ -10,6 +9,9 @@ use Test::More; sub Test::Builder::_ok_debug {} } +eval q(use IPC::Run 'run'); +plan skip_all => "IPC::Run required to test commands" if $@; + my %CMDARGS = ( ping => '-c 1 ', 'cat \Khttpd/' => '/var/log/apache2/',