From Fedora Project Wiki

(Initial shot at squashfs-tools test case)
 
No edit summary
Line 131: Line 131:
= Expected Results =
= Expected Results =


The test should not abort early because it was unable to create some file or free disc space running out. There should be no messages starting with either "Mounted test failed" or "Extract test failed". None of mksquashfs, unsquashfs or mount commands should report failure.
The test should not abort early because it was unable to create some file or free disc space running out. There should be no messages with the string "failed" in them.

Revision as of 15:03, 26 December 2010

Description

Test that compression is reversible for squashfs-tools.

How to test

Run the provided script as root and note any failure messages. The script needs to be run as root so that squashfs images can be mounted and to prevent warnings about setting selinux extended attributes when running unsquashfs.

You need to have squashfs-tools and rpmdevtools installed.

The compression types tested will be those expected to work with the version of squashfs-tools you have installed and the kernel you are running.

Run the following script:

  1. !/bin/bash
  1. We need rpmdev-vercmp

rpm -q rpmdevtools > /dev/null 2>&1

Expected Results

The test should not abort early because it was unable to create some file or free disc space running out. There should be no messages with the string "failed" in them.