print STDERR "===> $cmd $go\n";
$self->{bconsole}->clear_accum();
$self->send("$cmd $go\n");
- $self->expect_it('-re',qr/^[*]/);
+ $self->expect_it('-re','^[*]');
my $ret = $self->before();
if ($ret =~ /jobid=(\d+)/is) {
return $1;
$self->{bconsole}->clear_accum();
$self->send("$cmd\n");
# $self->expect_it($cmd);
- $self->expect_it('-re',qr/^[*]/);
+ $self->expect_it('-re','^[*]');
return $self->before();
}
$self->{bconsole}->clear_accum();
$self->send("yes\n");
# $self->expect_it("yes");
- $self->expect_it('-re',qr/^[*]/);
+ $self->expect_it('-re','^[*]');
return $self->before();
}
$self->send("yes\n");
# $self->expect_it("yes");
# $res .= $self->before();
- $self->expect_it('-re',qr/^[*]/);
+ $self->expect_it('-re','^[*]');
$res .= $self->before();
return $res;
}
print "fileset : ", join(',', $c->list_fileset()), "\n";
print "job : ", join(',', $c->list_job()), "\n";
print "storage : ", join(',', $c->list_storage()), "\n";
-print $c->label_barcodes(pool => 'Scratch', drive => 0, storage => 'LTO3', slots => '45');
+#print $c->label_barcodes(pool => 'Scratch', drive => 0, storage => 'LTO3', slots => '45');
#print "prune : " . $c->prune_volume('000001'), "\n";
#print "update : " . $c->send_cmd('update slots storage=SDLT-1-2, drive=0'), "\n";
#print "label : ", join(',', $c->label_barcodes(storage => 'SDLT-1-2',