Fixed permissions in test suite
Change-Id: I524ca573fd2fe61f8710126c43b417d0fde3068a
diff --git a/t/script/single.t b/t/script/single.t
index a1d6c58..24e2559 100644
--- a/t/script/single.t
+++ b/t/script/single.t
@@ -3,7 +3,7 @@
use warnings;
use File::Basename 'dirname';
use File::Spec::Functions qw/catdir catfile/;
-use File::Temp qw/ :POSIX /;
+use File::Temp qw/:POSIX/;
use Mojo::File;
use Mojo::JSON qw/decode_json/;
use IO::Uncompress::Gunzip;
@@ -19,6 +19,8 @@
ok(-d $input, 'Input directory found');
my $output = tmpnam();
+my $cache = tmpnam();
+
ok(!-f $output, 'Output does not exist');
@@ -27,6 +29,7 @@
'perl', $script,
'--input' => $input,
'--output' => $output,
+ '--cache' => $cache,
'-t' => 'OpenNLP#Tokens',
'-l' => 'INFO'
);
@@ -94,6 +97,7 @@
'perl', $script,
'--input' => $input,
'--output' => $output,
+ '--cache' => $cache,
'-t' => 'CoreNLP#Tokens',
'-s' => '#all',
'-a' => 'DeReKo#Structure',
@@ -129,6 +133,7 @@
'perl', $script,
'--input' => $input,
'--output' => $output,
+ '--cache' => $cache,
'-t' => 'CoreNLP#Tokens',
'-s' => '#all',
'-a' => 'DeReKo#Structure',
@@ -170,6 +175,7 @@
'perl', $script,
'--input' => $input,
'--output' => $output,
+ '--cache' => $cache,
'-m' => 'Sgbr',
'-t' => 'Base#Tokens_aggr',
'-l' => 'INFO'
@@ -219,6 +225,7 @@
'perl', $script,
'--input' => $input,
'--output' => $output,
+ '--cache' => $cache,
'-t' => 'base#tokens_aggr',
'-bs' => 'DeReKo#Structure',
'-bp' => 'DeReKo#Structure',