unify output, drop completed TODO item

This commit is contained in:
George Danchev
2011-07-07 14:49:48 +00:00
parent 12c6ec47b0
commit 54d028add0
2 changed files with 6 additions and 13 deletions

View File

@ -170,13 +170,13 @@ is_valid_iso9660() {
ISOfile="$1"
if [ ! -f ${ISOfile} ]; then
failure=1
printf "=== FAIL Not found: ${ISOfile}\n"
printf "${prog}: FAIL: Not found: ${ISOfile}\n"
fi
if file ${ISOfile} | grep -P "ISO\s+9660\s+CD-ROM\s+filesystem\s+data" >/dev/null 2>&1; then
printf "=== ${ISOfile} OK\n"
else
failure=1
printf "=== FAIL: ${ISOfile} does not look like ISO 9660 filesystem data\n"
printf "${prog}: FAIL: ${ISOfile} does not look like ISO 9660 filesystem data\n"
fi
}