QA:Testcase Anaconda updates.img via URL
This test will verify that anaconda can download the requested
updates.img file using a HTTP url.
- There is an
updates.imgprepared for you in this test case. If it doesn't work or you want to use a different one, see this page for image creation instructions, and prepare your own file. A good thing to change in the image is the What language would you like to use during the installation process? text in
pyanaconda/ui/gui/spokes/welcome.glade, as this text is displayed on one of the first screens. Then host the
updates.imgon a httpd server accessible by your installation.
How to test
- Boot the installer while specifying the HTTP URL for the updates image. Use our provided one:
inst.updates=https://fedorapeople.org/groups/qa/updates/updates-unipony.imgor your own one.
- If it's possible, visually identify that the update was applied. With the update above, go to the Installation destination dialog and see that check icons have been replaced with a lovely unicorn pony (courtesy of RainbowPlasma):
- If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of
/tmp/updatesdirectory, which should contain all updated source code files. (Please note that the updates.img available above does not change any code, only a single image, and therefore
/tmp/updatesdirectory is not created.)
- Proceed with installation
- Anaconda downloads the
updates.imgand copies its content to
/tmp/updates. Any changes you included in the updates.img file are applied (image changes, text adjustments, source code changes, etc).
- Anaconda proceeds without related errors