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)";