From Fedora Project Wiki

fp-wiki>ImportUser
(Imported from MoinMoin)
 
(fix formatting, add to category)
(One intermediate revision by one other user not shown)
Line 6: Line 6:
== Steps To Reproduce ==
== Steps To Reproduce ==


1. 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
<pre>
#:<pre>
mkdir /tmp/updates
#:mkdir /tmp/updates
dd if=/dev/zero of=updates.img bs=1k count=1440
#:dd if=/dev/zero of=updates.img bs=1k count=1440
mke2fs updates.img
#:mke2fs updates.img
mount -o loop updates.img /tmp/updates
#:mount -o loop updates.img /tmp/updates
touch /tmp/updates/TESTING123
#:touch /tmp/updates/TESTING123
umount /tmp/updates
#:umount /tmp/updates
</pre>
#:</pre>
# 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


1. Boot the installer while specifying the http URL for the updates image.  For example, <code>updates=http://server/path/to/updates.img</code>
== Expected Results ==
1. Proceed to stage#2


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


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


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


[1]  For help preparing an updates.img, refer to http://fedoraproject.org/wiki/Anaconda/Updates
[[Category:Install Test Cases|{{#titleparts:QA/TestCases/UpdatesImgViaHttp|1|-1|}}]]

Revision as of 19:16, 30 May 2008

QA/TestCases/UpdatesImgViaHttp

Description

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

Steps To Reproduce

  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