From Fedora Project Wiki

(this is not about kickstart)
(updated description and process to make the test more clear)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|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]]
|description=This test will verify that anaconda can download and apply a {{filename|updates.img}} that is inside the remote installation source without extra input from the user. For help preparing {{filename|updates.img}}, see [[Anaconda/Updates]]
|actions=
|actions=
<ol>
<ol>
<li> Prepare a remote installation source, if you don't already have one (mirroring one of the releases is the easiest way to do that </li>
<li> Prepare a valid {{filename|updates.img}} file. A suggested approach is to create a dummy {{filename|updates.img}} with an empty file:
<li> Prepare a valid {{filename|updates.img}} file. A suggested approach is to create a dummy {{filename|updates.img}} with an empty file:
<pre>
<pre>
Line 14: Line 15:
</li>
</li>
<li> Copy the {{filename|updates.img}} into the {{filename|images/}} 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 {{filename|updates.img}} was published.</li>
<li> Boot the installer using the <code>askmethod</code> option at boot and select some protocol (http, nfs) that will use the modified remote installation source where the {{filename|updates.img}} was published. See [[Anaconda/Options]] for information on supported boot options.</li>
<li> Proceed with installation</li>
<li> Proceed with installation</li>
</ol>
</ol>
|results=
|results=
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. To confirm this, check for the presence of the file /tmp/updates/TESTING123
# Anaconda proceeds without error
# Anaconda proceeds without error
}}
}}

Revision as of 17:39, 31 October 2011

Description

This test will verify that anaconda can download and apply a updates.img that is inside the remote installation source without extra input from the user. For help preparing updates.img, see Anaconda/Updates


How to test

  1. Prepare a remote installation source, if you don't already have one (mirroring one of the releases is the easiest way to do that
  2. Prepare a valid updates.img 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
    
  3. Copy the updates.img into the images/ directory of the remote installation source you are installing from
  4. Boot the installer using the askmethod option at boot and select some protocol (http, nfs) that will use the modified remote installation source where the updates.img was published. See Anaconda/Options for information on supported boot options.
  5. Proceed with installation

Expected Results

  1. Anaconda prepares the updates.img and copies its content to /tmp/updates/. To confirm this, check for the presence of the file /tmp/updates/TESTING123
  2. Anaconda proceeds without error