repo.or.cz
/
cxgn-corelibs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tweak debug output.
[cxgn-corelibs.git]
/
t
/
CXGN
/
Tools
/
RunTorque.t
blob
61ec86d4f5fdd728143d4bb9fc046177cf435c83
1
2
use strict;
3
use Test::More;
4
use CXGN::Tools::Run;
5
6
my $hostname = `/bin/hostname`;
7
8
my $ctr2 = CXGN::Tools::Run->new({ backend => 'Torque' });
9
$ctr2->run_cluster('/bin/hostname');
10
11
while (my $alive = $ctr2->alive()) {
12
sleep(1);
13
}
14
15
is($ctr2->out(), $hostname, "Check output from clusterjob (torque)");
16