exactness: removed force-flag on file removal

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66249
This commit is contained in:
Aharon Hillel 2011-12-15 10:00:27 +00:00 committed by Tom Hacohen
parent 6b7bf9ee9f
commit 059b2933cf
1 changed files with 2 additions and 2 deletions

View File

@ -190,13 +190,13 @@ local files_list=
if [ -z "\$*" ]
# No test names given, compare all
then
rm -f "\$_dest_dir"/comp_* &> /dev/null
rm "\$_dest_dir"/comp_* &> /dev/null
files_list=( \`ls "\$_dest_dir"/test_*.png\` )
process_compare "\${files_list[@]}"
else
for test_name in \$*
do
rm -f "\$_dest_dir"/comp_"\$test_name"_[0-9]*.png &> /dev/null
rm "\$_dest_dir"/comp_"\$test_name"_[0-9]*.png &> /dev/null
files_list=( \`ls "\$_dest_dir"/"\$test_name"_[0-9]*.png\` )
process_compare "\${files_list[@]}"
done