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

  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.