From Fedora Project Wiki

(render the <pre> tag correctly)
(use {{filename|foo}} format)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test will verify that anaconda can download the requested updates.img file using a HTTP url. For help preparing updates.img, see [[Anaconda/Updates]]
|description=This test will verify that anaconda can download the requested {{filename|updates.img}} file using a HTTP url. For help preparing {{filename|updates.img}}, see [[Anaconda/Updates]]
|actions=
|actions=
<ol>
<ol>
<li> Prepare a valid kickstart file
<li> Prepare a valid kickstart file
* A suggested approach is to create a dummy <code>updates.img</code> with an empty file:
* A suggested approach is to create a dummy {{filename|updates.img}} with an empty file:
<pre>
<pre>
mkdir /tmp/updates
mkdir /tmp/updates
Line 14: Line 14:
</pre>
</pre>
</li>
</li>
<li> Copy the <code>updates.img</code> into the <code>images/</code> directory of the remote installation source you are installing from</li>
<li> Copy the {{filename|updates.img}} into the {{filename|images/}} directory of the remote installation source you are installing from</li>
<li> Boot the installer while specifying the installation source where the <code>updates.img</code> was published.</li>
<li> Boot the installer while specifying the installation source where the {{filename|updates.img}} was published.</li>
<li> Proceed with installation</li>
<li> Proceed with installation</li>
</ol>
</ol>

Revision as of 10:06, 2 June 2011

Description

This test will verify that anaconda can download the requested updates.img file using a HTTP url. For help preparing updates.img, see Anaconda/Updates


How to test

  1. Prepare a valid kickstart file
    • A suggested approach is to create a dummy updates.img with an empty file:
    mkdir /tmp/updates
    dd if=/dev/zero of=updates.img bs=1k count=1440
    mke2fs updates.img
    mount -o loop updates.img /tmp/updates
    touch /tmp/updates/TESTING123
    umount /tmp/updates
    
  2. Copy the updates.img into the images/ directory of the remote installation source you are installing from
  3. Boot the installer while specifying the installation source where the updates.img was published.
  4. Proceed with installation

Expected Results

  1. Anaconda prepares the updates.img and copies its content to /tmp/updates/
  2. Anaconda proceeds to stage2 without error