From Fedora Project Wiki
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.