X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2FGearman.t;h=67610568690446c282523a0d96c60955df6fbdcb;hb=b66d4f7441854ad2ade33c68e187fa531737fc9f;hp=9ef9f7c97f21529d22951656fc58d0582edf5579;hpb=49217b5c211b54b02c4773054660b8ee2d829d80;p=cloudstore.git diff --git a/t/Gearman.t b/t/Gearman.t index 9ef9f7c..6761056 100755 --- a/t/Gearman.t +++ b/t/Gearman.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More tests => 11; use Data::Dump qw(dump); use lib 'lib'; @@ -30,3 +30,14 @@ gearman( 'user_usage' => $user ); gearman( $hostname . '_s1_torrent_list' ); +gearman send_file => '~u2001/foo.txt#~u2002/dir with space/file with space'; + +gearman delete => '~u2002/dir with space/file with space'; + +gearman send_file => '~u2001/foo.txt#~u2002/foo.txt'; + +gearman rename_file => '~u2002/foo.txt#bar.txt'; +gearman rename_file => '~u2002/bar.txt#baz.txt'; + +gearman delete => '~u2002/baz.txt'; +