diff --git a/NPTest.pm b/NPTest.pm
index 1372d1423042bcaf0357f77367679cd6ccf08aad..432f3968cec95bd351f43ed4e990067b1e6e0fce 100644 (file)
--- a/NPTest.pm
+++ b/NPTest.pm
return $1 || "";
}
+sub only_output {
+ my $self = shift;
+ $_ = $self->{output};
+ /(.*?)\|/;
+ return $1 || "";
+}
+
sub testCmd {
my $class = shift;
my $command = shift or die "No command passed to testCmd";