projects
/
cloudstore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test file_size with send to different shard
[cloudstore.git]
/
t
/
API.t
diff --git
a/t/API.t
b/t/API.t
index
74a2b55
..
0b31f9c
100755
(executable)
--- a/
t/API.t
+++ b/
t/API.t
@@
-2,7
+2,7
@@
use strict;
use warnings;
use strict;
use warnings;
-use Test::More tests => 2
6
;
+use Test::More tests => 2
7
;
use Data::Dump qw(dump);
use lib 'lib';
use Data::Dump qw(dump);
use lib 'lib';
@@
-51,6
+51,8
@@
ok $o->send_file( $uid2 => 'dir1/dir2/bar.txt', $uid => 'bar.txt' ), 'send_file
usage $uid;
usage $uid2;
usage $uid;
usage $uid2;
+ok $o->send_file( $uid2 => 'dir1/dir2/bar.txt', 2004 => 'bar.txt' ), 'send_file cross-slice';
+
ok $o->delete( $uid, 'foo.txt' );
usage $uid;
ok $o->delete( $uid, 'foo.txt' );
usage $uid;