From Fedora Project Wiki
Description
This test case ensures that the appres
utility correctly lists the resource database of X applications.
Setup
- Ensure you have a Fedora system with a graphical interface running the X Window System.
- Install
appres
using the package manager, e.g.,sudo dnf install xorg-x11-apps
. - Have at least one X application installed and available to test, such as
xterm
.
How to test
- Open a terminal.
- Run the command
appres XTerm
(or any other X application's class name) to list the resources forxterm
. - Observe the list of resource names and class names, as well as their default values or current settings.
- Optionally, customize some resources for an X application, e.g., by using
.Xresources
or.Xdefaults
files, then reload the X settings. - Run
appres
again to check if the changes in resources reflect in theappres
output.
Expected Results
appres
should successfully display the resource database for the specified X application.- The displayed resources should match the default or current settings of the application.
- Any customization or modifications made to the X application's resources should be reflected in the
appres
output after reloading X settings.