repo.or.cz
/
clive.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rename: t/lib/RunTest.pm -> t/lib/Test/clive.pm.
[clive.git]
/
t
/
lib
/
Test
/
clive.pm
blob
857ccb09c27521c1510015c87ce33a2d10937af2
1
package
Test
::
clive
;
2
3
use
Test
::
More
;
4
5
my
$clive
=
"perl -I./blib/lib blib/script/clive -n"
;
6
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
"
;
13
}
14
15
1
;