diff options
Diffstat (limited to 'community/xmltv/test_tv_imdb.t.patch')
-rw-r--r-- | community/xmltv/test_tv_imdb.t.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/xmltv/test_tv_imdb.t.patch b/community/xmltv/test_tv_imdb.t.patch new file mode 100644 index 0000000000..bc065916a1 --- /dev/null +++ b/community/xmltv/test_tv_imdb.t.patch @@ -0,0 +1,26 @@ +From 5463cde27030237d79fedd200e49968edaa06f67 Mon Sep 17 00:00:00 2001 +From: Nick Morrott <knowledgejunkie@gmail.com> +Date: Thu, 28 Feb 2019 22:50:43 +0000 +Subject: [PATCH] test_tv_imdb.t: specify input/output per published CLI + options, rather than with STDIN/STDOUT redirection + +--- + t/test_tv_imdb.t | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/t/test_tv_imdb.t b/t/test_tv_imdb.t +index ad504464..4dc281a1 100755 +--- a/t/test_tv_imdb.t ++++ b/t/test_tv_imdb.t +@@ -84,9 +84,9 @@ INPUT: foreach my $input (@inputs) { + my $output="$tmpDir/".File::Basename::basename($input)."-output.xml"; + + # Make temporary directory and split into it. +- my $cmd="$cmds_dir/tv_imdb --quiet --imdbdir '$tmpDir' --with-keywords --with-plot < $input > '$output' 2>&1"; ++ my $cmd="$cmds_dir/tv_imdb --quiet --imdbdir '$tmpDir' --with-keywords --with-plot --output '$output' '$input' 2>&1"; + if ( $input=~m/movies-only/ ) { +- $cmd="$cmds_dir/tv_imdb --movies-only --quiet --imdbdir '$tmpDir' --with-keywords --with-plot < $input > '$output' 2>&1"; ++ $cmd="$cmds_dir/tv_imdb --movies-only --quiet --imdbdir '$tmpDir' --with-keywords --with-plot --output '$output' '$input' 2>&1"; + } + #print STDERR "\nRUN:$cmd\n"; + my $r = system($cmd); |