summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/NPTest.pm b/NPTest.pm
index 1372d14..432f396 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -603,6 +603,13 @@ sub perf_output {
603 return $1 || ""; 603 return $1 || "";
604} 604}
605 605
606sub only_output {
607 my $self = shift;
608 $_ = $self->{output};
609 /(.*?)\|/;
610 return $1 || "";
611}
612
606sub testCmd { 613sub testCmd {
607 my $class = shift; 614 my $class = shift;
608 my $command = shift or die "No command passed to testCmd"; 615 my $command = shift or die "No command passed to testCmd";