projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5938245
)
test guota_get used quota format
author
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Tue, 13 Dec 2011 00:16:03 +0000
(
01:16
+0100)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Tue, 13 Dec 2011 00:16:03 +0000
(
01:16
+0100)
t/Gearman.t
patch
|
blob
|
history
diff --git
a/t/Gearman.t
b/t/Gearman.t
index
d54df3f
..
ece750c
100755
(executable)
--- a/
t/Gearman.t
+++ b/
t/Gearman.t
@@
-2,7
+2,7
@@
use strict;
use warnings;
-use Test::More tests =>
3
;
+use Test::More tests =>
4
;
use Data::Dump qw(dump);
use lib 'lib';
@@
-14,6
+14,7
@@
chomp $hostname;
ok my $o = CloudStore::Gearman->gearman_do( $hostname . '_s1_quota_get' => 2001 );
diag dump $o;
+cmp_ok $o, '=~', qr/^(\d+)\s+(\d+)$/, 'format: used quota';
ok $o = CloudStore::Gearman->gearman_do( 'user_usage' => 2001 );
diag dump $o;