X-Git-Url: http://git.rot13.org/?p=cloudstore.git;a=blobdiff_plain;f=t%2FGearman.t;h=c2df62fc0a489f92691999d2521cdf2c89572ed3;hp=3c19a232a57bc62faf91cf77b8b9386cbfb1359e;hb=925ecfc00ce5ab771ff4337fcb9f1b27dc9570cb;hpb=6f9d7a2e15e93458b9c16f4f52ae0a5837baaa5b diff --git a/t/Gearman.t b/t/Gearman.t index 3c19a23..c2df62f 100755 --- a/t/Gearman.t +++ b/t/Gearman.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More tests => 49; +use Test::More tests => 55; use Data::Dump qw(dump); use lib 'lib'; @@ -63,9 +63,15 @@ test_refresh_file_list "$u2"; my $files = gearman list_files => "~$u2"; like $files, qr|dir with space/file with space|, 'found sent file in list_files'; +gearman send_file => "~$u2/dir with space/file with space#~$u3/another dir with spaces/and file with spaces"; +test_refresh_file_list "$u3"; + gearman delete => "~$u2/dir with space/file with space"; test_refresh_file_list "$u2"; +gearman delete => "~$u3/another dir with spaces/and file with spaces"; +test_refresh_file_list "$u3"; + gearman send_file => "~$u1/foo.txt#~$u2/foo.txt"; test_refresh_file_list "$u2";