Rename: t/lib/RunTest.pm -> t/lib/Test/clive.pm.
[clive.git] / t / lib / Test / clive.pm
blob857ccb09c27521c1510015c87ce33a2d10937af2
1 package Test::clive;
3 use Test::More;
5 my $clive = "perl -I./blib/lib blib/script/clive -n";
7 sub host {
8 my $url = shift;
9 my $cmd = "$clive $url @_ 2>&1";
10 my $output = qx($cmd);
11 ok( $output !~ /error:/ )
12 or diag "$cmd\n$output";