summaryrefslogtreecommitdiffstats
path: root/lib/subunit/perl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-04 23:04:28 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-09-04 23:04:28 +0200
commit5de2ec0def3e4ad0ead20b426e81509fd8e48c6d (patch)
treecfb8ef98f11663482c39929e46c8374933b925d5 /lib/subunit/perl
parented4253504167748c0bb829176d41c09365937189 (diff)
downloadsamba-5de2ec0def3e4ad0ead20b426e81509fd8e48c6d.tar.gz
samba-5de2ec0def3e4ad0ead20b426e81509fd8e48c6d.tar.xz
samba-5de2ec0def3e4ad0ead20b426e81509fd8e48c6d.zip
subunit: Import latest upstream.
Diffstat (limited to 'lib/subunit/perl')
-rw-r--r--lib/subunit/perl/lib/Subunit.pm21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/subunit/perl/lib/Subunit.pm b/lib/subunit/perl/lib/Subunit.pm
index 05206748e2d..dac4a2601df 100644
--- a/lib/subunit/perl/lib/Subunit.pm
+++ b/lib/subunit/perl/lib/Subunit.pm
@@ -159,4 +159,25 @@ sub report_time($)
printf "time: %04d-%02d-%02d %02d:%02d:%02dZ\n", $year+1900, $mon, $mday, $hour, $min, $sec;
}
+sub progress_pop()
+{
+ print "progress: pop\n";
+}
+
+sub progress_push()
+{
+ print "progress: push\n";
+}
+
+sub progress($;$)
+{
+ my ($count, $whence) = @_;
+
+ unless(defined($whence)) {
+ $whence = "";
+ }
+
+ print "progress: $whence$count\n";
+}
+
1;