From Fedora Project Wiki
(First draft) |
(This applies only to DVD's for now) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test will read in metadata of all packages on | |description=This test will read in metadata of all packages included on DVD media and determine whether any package or file conflicts exist. Note, the example used in this test applies to the i386 platform. However, this test can be used to detect package file conflicts on other supported platforms. | ||
|actions= | |actions= | ||
# Download the DVD image | # Download the DVD image | ||
# Mount the ISO, for example: <pre>mount -o loop Fedora-12-i386-DVD.iso /media/ </pre> | # Mount the ISO, for example: <pre>mount -o loop Fedora-12-i386-DVD.iso /media/ </pre> | ||
# Next, install the {{package|autoqa}} package. You may install it using {{command|yum install autoqa}} or by | # Next, install the {{package|autoqa}} package. You may install it using {{command|yum install autoqa}} or by grabbing the test directly from git <pre>git clone git://git.fedorahosted.org/autoqa.git </pre> | ||
# Check for file conflicts by running the script {{filename|potential_conflict.py}}. If operating out of the git checkout, you may need to change to the directory {{filename|autoqa/tests/conflicts}}. <pre>python potential_conflict.py --repofrompath=media,/media -a i386 -r media</pre> | # Check for file conflicts by running the script {{filename|potential_conflict.py}}. If operating out of the git checkout, you may need to change to the directory {{filename|autoqa/tests/conflicts}}. <pre>python potential_conflict.py --repofrompath=media,/media -a i386 -r media</pre> | ||
|results= | |results= |
Revision as of 15:33, 21 December 2009
Description
This test will read in metadata of all packages included on DVD media and determine whether any package or file conflicts exist. Note, the example used in this test applies to the i386 platform. However, this test can be used to detect package file conflicts on other supported platforms.
How to test
- Download the DVD image
- Mount the ISO, for example:
mount -o loop Fedora-12-i386-DVD.iso /media/
- Next, install the
autoqa
package. You may install it usingyum install autoqa
or by grabbing the test directly from gitgit clone git://git.fedorahosted.org/autoqa.git
- Check for file conflicts by running the script
potential_conflict.py
. If operating out of the git checkout, you may need to change to the directoryautoqa/tests/conflicts
.python potential_conflict.py --repofrompath=media,/media -a i386 -r media
Expected Results
- The
potential_conflict.py
script completes successfully - No package or file conflicts were detected for packages included in the media kit