From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case validates the basic functionality of drpm to ensure it can create and apply delta RPMs correctly. |setup= # Install a fresh copy of Fedora. # Ensure `drpm` is installed using: `dnf install drpm`. |actions= ### Creation of Delta RPM # Create an older and newer version of a sample RPM package or obtain two versions of an RPM package. # Run `makedeltaiso old_rpm.rpm new_rpm.rpm delta.rpm`. ### Applying Delta RPM # Install the old...") |
No edit summary |
||
Line 6: | Line 6: | ||
|actions= | |actions= | ||
# Creation of Delta RPM | |||
# Create an older and newer version of a sample RPM package or obtain two versions of an RPM package. | ## Create an older and newer version of a sample RPM package or obtain two versions of an RPM package. | ||
# Run `makedeltaiso old_rpm.rpm new_rpm.rpm delta.rpm`. | ## Run `makedeltaiso old_rpm.rpm new_rpm.rpm delta.rpm`. | ||
# Applying Delta RPM | |||
# Install the older version of the RPM package: `dnf install old_rpm.rpm`. | ## Install the older version of the RPM package: `dnf install old_rpm.rpm`. | ||
# Apply the delta RPM: `rpm -Uvh delta.rpm`. | ## Apply the delta RPM: `rpm -Uvh delta.rpm`. | ||
|results= | |results= | ||
# Creation of Delta RPM | |||
# The command completes without error. | ## The command completes without error. | ||
# A delta RPM (`delta.rpm`) is successfully generated. | ## A delta RPM (`delta.rpm`) is successfully generated. | ||
# Applying Delta RPM | |||
# The older version of the RPM is installed successfully. | ## The older version of the RPM is installed successfully. | ||
# The system updates to the new version of the RPM package after applying the delta RPM. | ## The system updates to the new version of the RPM package after applying the delta RPM. | ||
|optional= | |optional= | ||
# Experiment with different RPMs to test the robustness of the delta RPM generation. | |||
# Monitor system for any irregularities after applying delta RPMs to ensure stability. | |||
}} | }} | ||
[[Category:Package_drpm_test_cases]] | [[Category:Package_drpm_test_cases]] | ||
[[Category:Critical_path_test_cases]] | [[Category:Critical_path_test_cases]] |
Latest revision as of 09:32, 21 August 2023
Description
This test case validates the basic functionality of drpm to ensure it can create and apply delta RPMs correctly.
Setup
- Install a fresh copy of Fedora.
- Ensure
drpm
is installed using:dnf install drpm
.
How to test
- Creation of Delta RPM
- Create an older and newer version of a sample RPM package or obtain two versions of an RPM package.
- Run
makedeltaiso old_rpm.rpm new_rpm.rpm delta.rpm
.
- Applying Delta RPM
- Install the older version of the RPM package:
dnf install old_rpm.rpm
. - Apply the delta RPM:
rpm -Uvh delta.rpm
.
- Install the older version of the RPM package:
Expected Results
- Creation of Delta RPM
- The command completes without error.
- A delta RPM (
delta.rpm
) is successfully generated.
- Applying Delta RPM
- The older version of the RPM is installed successfully.
- The system updates to the new version of the RPM package after applying the delta RPM.
Optional
- Experiment with different RPMs to test the robustness of the delta RPM generation.
- Monitor system for any irregularities after applying delta RPMs to ensure stability.