From Fedora Project Wiki

No edit summary
Line 1: Line 1:
= QA/TestCases/UpdatesImgViaHttp =
{{QA/Test_Case
 
|description=This test will verify that anaconda can download the requested updates.img file using a HTTP url.
== Description ==
|actions=
This test will verify that anaconda can download the requested updates.img file using a HTTP url.
 
== Steps To Reproduce ==
 
# Prepare a valid kickstart file and copy to a httpd server accessible by your installation [1]  
# Prepare a valid kickstart file and copy to a httpd server accessible by your installation [1]  
#* A suggested approach is to create a dummy updates.img with a empty file
#* A suggested approach is to create a dummy updates.img with a empty file
Line 18: Line 14:
# Boot the installer while specifying the http URL for the updates image.  For example <code>updates=http://server/path/to/updates.img</code>
# Boot the installer while specifying the http URL for the updates image.  For example <code>updates=http://server/path/to/updates.img</code>
# Proceed to stage#2
# Proceed to stage#2
 
|results=
== Expected Results ==
 
# Anaconda prepares the updates.img and copies it's content to /tmp/updates/
# Anaconda prepares the updates.img and copies it's content to /tmp/updates/
# Anaconda proceeds to stage#2 without error
# Anaconda proceeds to stage#2 without error
 
}}
== References ==
== References ==



Revision as of 08:11, 15 December 2009

Description

This test will verify that anaconda can download the requested updates.img file using a HTTP url.


How to test

  1. Prepare a valid kickstart file and copy to a httpd server accessible by your installation [1]
    • A suggested approach is to create a dummy updates.img with a 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. Boot the installer while specifying the http URL for the updates image. For example updates=http://server/path/to/updates.img
  3. Proceed to stage#2

Expected Results

  1. Anaconda prepares the updates.img and copies it's content to /tmp/updates/
  2. Anaconda proceeds to stage#2 without error



References

For help preparing an updates.img, refer to Anaconda/Updates