#186: Automate media kit sanity tests
---------------------+------------------------------------------------------
Reporter: jlaska | Owner: lili
Type: task | Status: new
Priority: major | Milestone: Automate installation test plan
Component: tests | Version: 1.0
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by robatino):
Make sure to use IEC units for the CD size, and SI units for the other
media, as indicated in the test description. It appears that currently
you're using SI units for everything. It's common for the CD ISO to be
exactly 700 MiB = 734003200 bytes, which fits, so I adjusted the test to
allow for this by changing < to <= (and made the same change for the other
media).
You might want to consider adding a test which would only generate a
warning, to see if the actual ISO size matches the size indicated by the
ISO header. (See
https://bugzilla.redhat.com/show_bug.cgi?id=585006 .)
The rawread script at
https://fedoraproject.org/wiki/File:Rawread.sh
contains code to read the blocksize and blockcount from the ISO header.
The ISO header size is just blocksize*blockcount.
--
Ticket URL: <
https://fedorahosted.org/autoqa/ticket/186#comment:2>
AutoQA <
http://autoqa.fedorahosted.org>
Automated QA project