From Fedora Project Wiki

mNo edit summary
(check just upper limit, use du -b, add example)
Line 2: Line 2:
|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 ISO images ('''CD''', '''netinst''', '''Live''', and '''DVD''') are small enough to fit on the corresponding media.
|actions=
|actions=
# Inspect the size of '''CD''' and '''netinst''' install media.  The {{command|ls -l}} command can be used to display the sizes of the images in bytes.
<ol>
# Repeat the same inspection, but for the '''Live''' media.
<li>Inspect the size of '''CD''' and '''netinst''' install media.  The {{command|du -b}} command can be used to display the sizes of the images in bytes:
# Finally, inspect the size of the '''DVD''' media.
<pre>$ du -b Fedora-14-Alpha-x86_64-netinst.iso
230686720 Fedora-14-Alpha-x86_64-netinst.iso</pre></li>
<li>Repeat the same inspection, but for the '''Live''' media.</li>
<li>Finally, inspect the size of the '''DVD''' media.</li>
</ol>
|results=
|results=
# The installer '''CD''' and '''netinst''' images are of a size ''greater than'' '''2 MiB''', and ''less than or equal to'' '''700 MiB = 734,003,200 bytes''' (IEC units).
# The size of '''CD''' and '''netinst''' images is less than or equal to '''734,003,200''' (700 MiB).
# The installer '''Live''' images are of a size ''greater than'' '''2 MiB''', and ''less than or equal to'' '''1 GB = 1,000,000,000 bytes''' (SI units)<ref>As of Fedora 13, live media is intended for USB media keys and not for CD images. For more details on this change, see [[Features/DesktopLiveImageTarget]].</ref>.
# The size of '''Live''' images is less than or equal to '''1,000,000,000''' (1 GB) <ref>As of Fedora 13, live media is intended for USB media keys and not for CD images. For more details on this change, see [[Features/DesktopLiveImageTarget]].</ref>.
# The installer '''DVD''' images are of a size ''greater than'' '''2 MiB''', and ''less than or equal to'' '''4.7 GB = 4,700,000,000 bytes''' (SI units).
# The size of '''DVD''' images is less than or equal to '''4,700,000,000''' (4,7 GB).
<references/>
<references/>
}}
}}


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

Revision as of 08:35, 13 August 2010

Description

This test validates that ISO images (CD, netinst, Live, and DVD) 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.

Expected Results

  1. The size of CD and netinst images is less than or equal to 734,003,200 (700 MiB).
  2. The size of Live images is less than or equal to 1,000,000,000 (1 GB) [1].
  3. The size of DVD images is less than or equal to 4,700,000,000 (4,7 GB).
  1. As of Fedora 13, live media is intended for USB media keys and not for CD images. For more details on this change, see Features/DesktopLiveImageTarget.