Fixed more permission and dependency issues
Change-Id: I004bb23031dbb9bb7464d258d9306e7254b2e2a4
diff --git a/t/script/serial.t b/t/script/serial.t
index 6fb883f..ab71634 100644
--- a/t/script/serial.t
+++ b/t/script/serial.t
@@ -4,7 +4,7 @@
use Test::Output qw/stdout_from/;
use File::Basename 'dirname';
use File::Spec::Functions qw/catdir catfile/;
-use File::Temp qw/tempdir/;
+use File::Temp qw/:POSIX/;
my $f = dirname(__FILE__);
my $script = catfile($f, '..', '..', 'script', 'korapxml2krill');
@@ -14,6 +14,8 @@
# Temporary output
my $output = File::Temp->newdir(CLEANUP => 0);
+my $cache = tmpnam();
+
my $call = join(
' ',
'perl', $script,
@@ -21,6 +23,7 @@
'-t' => 'Base#tokens_aggr',
'-i' => '"archive.zip"',
'-i' => '"archives/wpd15*.zip"',
+ '--cache' => $cache,
'-ib' => $input_base,
'-o' => $output
);