From Fedora Project Wiki

(Initial draft)
 
(Add to proper category)
Line 25: Line 25:


}}
}}
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 22:15, 15 January 2010

Description

This test is intended to verify that the posted ISO media matches the published sha256sum.


How to test

  1. Download the .iso media files you wish to test
  2. Download the matching CHECKSUM file. For example, Fedora-12-Beta-i386-CHECKSUM.
  3. Validate that the published CHECKSUM match the downloaded ISO files by running the command sha256sum. For example, you might type:
    sha256sum -c Fedora-12-Beta-i386-CHECKSUM
  4. Validate the md5sum imprinted inside the ISO image by running the command checkisomd5. For example, you might type:
    checkisomd5 Fedora-12-Beta-i386-*.iso

Expected Results

  1. The provided CHECKSUM file should be signed
  2. The command sha256sum should return OK results. For example:
    $ sha256sum -c Fedora-12-Beta-i386-CHECKSUM
    Fedora-12-Beta-i386-DVD.iso: OK
    Fedora-12-Beta-i386-disc1.iso: OK
    Fedora-12-Beta-i386-disc2.iso: OK
    Fedora-12-Beta-i386-disc3.iso: OK
    Fedora-12-Beta-i386-disc4.iso: OK
    Fedora-12-Beta-i386-disc5.iso: OK
    Fedora-12-Beta-i386-netinst.iso: OK
  3. The command checkisomd5 should indicate that it is OK to use this media. For example:
    The media check is complete, the result is: PASS.
    It is OK to use this media.