From 64e6feb4091d741ba5443dda5c66fc839e3a53a5 Mon Sep 17 00:00:00 2001 From: Jonny007-MKD Date: Wed, 25 Nov 2015 09:51:35 +0100 Subject: [PATCH] Removed nocache from test, use command line for that --- testing/test.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/testing/test.sh b/testing/test.sh index 60deace..a334f5e 100755 --- a/testing/test.sh +++ b/testing/test.sh @@ -1,6 +1,7 @@ #!/bin/bash -#srArgs="-d" +# use first parameter to add parameters for sanerenamix +srArgs="$1" declare -A files @@ -54,13 +55,6 @@ for the_file in "${!files[@]}"; do ln -s "testing/$epg_file" "$path/$epg_file" fi - result="$($path/saneRenamix.sh $srArgs -c -s -f "$the_file")"; - - if [ "$result" != "${files["$the_file"]}" ]; then - echo -e "\033[31m$the_file -> $result (nocache)"; - echo "'$result' != '${files[$the_file]}'"; - fi - result="$($path/saneRenamix.sh $srArgs -s -f "$the_file")"; if [ "$result" != "${files["$the_file"]}" ]; then echo -e "\033[31m$the_file -> $result (cache)";