From Fedora Project Wiki

(Correct Live image size for F-14)
(Additional wording to limit which spins apply, and additional reference links for further reading on units)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test validates that ISO images ('''CD''', '''netinst''', '''Live''', and '''DVD''') are small enough to fit on the corresponding media.
|description=This test validates that installation ISO images ('''CD''', '''netinst''' and '''DVD''') and Desktop Spin <ref>Fedora Desktop Spin images are ''desktop'' (aka GNOME), ''KDE'', ''XFCE'' and ''LXDE''.  For additional information on desktop spins, see http://fedoraproject.org/en/get-fedora-options#desktops.</ref> ISO images ('''Live''') are small enough to fit on the corresponding media.
|actions=
|actions=
<ol>
<ol>
Line 9: Line 9:
<li>Finally, inspect the size of the '''DVD''' media.</li>
<li>Finally, inspect the size of the '''DVD''' media.</li>
</ol>
</ol>
{{admon/tip|Check size over HTTP|If you need to check ISO size without downloading the file, you can do that also remotely:
{{admon/tip|Avoid downloading by inspecting HTTP headers|If you need to check ISO size without downloading the file, you can do that also remotely:
<pre>$ curl -sI http://server/image.iso | grep Content-Length</pre>}}
<pre>$ curl -sI http://server/image.iso | grep Content-Length</pre>}}
|results=
|results=
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734003200 bytes''' (700 MiB = 700 * 2^20 bytes).
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734003200 bytes''' <ref name="700MiB">700 MiB = 700 * 2^20 bytes = 734003200 bytes (for more information, see http://en.wikipedia.org/wiki/Mebibyte</ref>
# The size of '''Live''' images is less than or equal to '''734003200 bytes''' (700 MiB = 700 * 2^20 bytes).
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734003200 bytes''' <ref name="700MiB"/>
# The size of '''DVD''' images is less than or equal to '''4700000000 bytes''' (4.7 GB = 4.7 * 1000^3 bytes).
# The size of '''Live''' images ...
#* on ''Fedora 14'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/14/Spins]] for ISO sizes for additional spins)
#* on ''Fedora 13'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/>
# The size of '''DVD''' images is less than or equal to '''4700000000 bytes''' <ref name="4.7GB">4.7 GB = 4.7G * 1000^3 bytes = 4700000000 bytes (for more information, see http://en.wikipedia.org/wiki/Gibibyte</ref>
<!-- '''734003200 bytes''' (700 MiB = 700 * 2^20 bytes) -->
<!-- '''734003200 bytes''' (700 MiB = 700 * 2^20 bytes) -->
<!-- '''1000000000 bytes''' (1 GB = 1000^3 bytes) -->
<!-- '''1000000000 bytes''' (1 GB = 1000^3 bytes) -->
}}
}}
= References =
<references/>
<references/>


[[Category:Installer_Image_Sanity_Test_Cases]]
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 16:47, 25 October 2010

Description

This test validates that installation ISO images (CD, netinst and DVD) and Desktop Spin [1] ISO images (Live) are small enough to fit on the corresponding media.


How to test

  1. Inspect the size of CD and netinst install media. The du -b command can be used to display the sizes of the images in bytes:
    $ du -b Fedora-14-Alpha-x86_64-netinst.iso
    230686720	Fedora-14-Alpha-x86_64-netinst.iso
  2. Repeat the same inspection, but for the Live media.
  3. Finally, inspect the size of the DVD media.
Avoid downloading by inspecting HTTP headers
If you need to check ISO size without downloading the file, you can do that also remotely:
$ curl -sI http://server/image.iso | grep Content-Length

Expected Results

  1. The size of CD and netinst images is less than or equal to 734003200 bytes [2]
  2. The size of CD and netinst images is less than or equal to 734003200 bytes [2]
  3. The size of Live images ...
    • on Fedora 14, is less than or equal to 734003200 bytes [2] (see Releases/14/Spins for ISO sizes for additional spins)
    • on Fedora 13, is less than or equal to 734003200 bytes [2]
  4. The size of DVD images is less than or equal to 4700000000 bytes [3]



References

  1. Fedora Desktop Spin images are desktop (aka GNOME), KDE, XFCE and LXDE. For additional information on desktop spins, see http://fedoraproject.org/en/get-fedora-options#desktops.
  2. 2.0 2.1 2.2 2.3 700 MiB = 700 * 2^20 bytes = 734003200 bytes (for more information, see http://en.wikipedia.org/wiki/Mebibyte
  3. 4.7 GB = 4.7G * 1000^3 bytes = 4700000000 bytes (for more information, see http://en.wikipedia.org/wiki/Gibibyte