require ~u2001/foo.txt for tests
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 14 Apr 2012 18:10:54 +0000 (20:10 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 14 Apr 2012 18:10:54 +0000 (20:10 +0200)
t/Gearman.t

index 2619cdd..4110614 100755 (executable)
@@ -46,6 +46,8 @@ foreach my $uid ( 2001, 2002 ) {
        ok file_exists "~u$uid/.meta/files", "file_exists ~u$uid/.meta/files";
 }
 
+file_exists '~u2001/foo.txt' || BAIL_OUT("~u2001/foo.txt is required for rest of tests");
+
 gearman send_file => '~u2001/foo.txt#~u2002/dir with space/file with space';
 test_refresh_file_list 'u2002';