From Fedora Project Wiki

Revision as of 09:31, 21 August 2023 by Sumantrom (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case validates the basic functionality of drpm to ensure it can create and apply delta RPMs correctly.

Setup

  1. Install a fresh copy of Fedora.
  2. Ensure drpm is installed using: dnf install drpm.

How to test

      1. Creation of Delta RPM
  1. Create an older and newer version of a sample RPM package or obtain two versions of an RPM package.
  2. Run makedeltaiso old_rpm.rpm new_rpm.rpm delta.rpm.
      1. Applying Delta RPM
  1. Install the older version of the RPM package: dnf install old_rpm.rpm.
  2. Apply the delta RPM: rpm -Uvh delta.rpm.

Expected Results

      1. Creation of Delta RPM
  1. The command completes without error.
  2. A delta RPM (delta.rpm) is successfully generated.
      1. Applying Delta RPM
  1. The older version of the RPM is installed successfully.
  2. The system updates to the new version of the RPM package after applying the delta RPM.

Optional

1. Experiment with different RPMs to test the robustness of the delta RPM generation. 2. Monitor system for any irregularities after applying delta RPMs to ensure stability.