How to Install and Uninstall systemd-testsuite Package on openSUSE Leap

Last updated: November 23,2024

1. Install "systemd-testsuite" package

This guide covers the steps necessary to install systemd-testsuite on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install systemd-testsuite

2. Uninstall "systemd-testsuite" package

This guide let you learn how to uninstall systemd-testsuite on openSUSE Leap:

$ sudo zypper remove systemd-testsuite

3. Information about the systemd-testsuite package on openSUSE Leap

Information for package systemd-testsuite:
------------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : systemd-testsuite
Version : 249.17-150400.8.40.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 40.9 MiB
Installed : No
Status : not installed
Source package : systemd-249.17-150400.8.40.1.src
Upstream URL : http://www.freedesktop.org/wiki/Software/systemd
Summary : Testsuite for systemd
Description :
This package contains the unit tests as well as the extended testsuite. The unit
tests are used to check various internal functions used by systemd whereas the
extended testsuite is used to test various functionalities of systemd and all
its components.
Note that you need root privileges to run the extended testsuite.
Run the following python script to run all unit tests at once:
$ /usr/lib/systemd/tests/run-unit-tests.py
To run the full extended testsuite do the following:
$ NO_BUILD=1 TEST_NESTED_VM=1 /usr/lib/systemd/tests/integration-tests/run-integration-tests.sh
Or to run one specific integration test:
$ NO_BUILD=1 TEST_NESTED_VM=1 make -C /usr/lib/systemd/tests/integration-tests/TEST-01-BASIC clean setup run
For more details on the available options to run the extended testsuite, please
refer to /usr/lib/systemd/tests/test/README.testsuite.

5. The same packages on other Linux Distributions