How To Install atf-tests on Fedora 36

In this tutorial we learn how to install atf-tests in Fedora 36. atf-tests is Automated Testing Framework - Test suite

Introduction

In this tutorial we learn how to install atf-tests on Fedora 36.

What is atf-tests

The Automated Testing Framework (ATF) is a collection of libraries to implement test programs in a variety of languages. At the moment, ATF offers C, C++ and POSIX shell bindings with which to implement tests. These bindings all offer a similar set of functionality and any test program written with them exposes a consistent user interface. ATF-based test programs rely on a separate runtime engine to execute them. The runtime engine is in charge of isolating the test programs from the rest of the system to ensure that their results are deterministic and that they cannot affect the running system. The runtime engine is also responsible for gathering the results of all tests and composing reports. The current runtime of choice is Kyua. This package installs the run-time tests for all the components of ATF, which include tests for the C, C++ and POSIX shell libraries and the run-time tools. Please see the README.Fedora file in the documentation directory for further details on how to run the installed tests.

We can use yum or dnf to install atf-tests on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install atf-tests.

Install atf-tests on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install atf-tests using dnf by running the following command:

sudo dnf -y install atf-tests

Install atf-tests on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install atf-tests using yum by running the following command:

sudo yum -y install atf-tests

How To Uninstall atf-tests on Fedora 36

To uninstall only the atf-tests package we can use the following command:

sudo dnf remove atf-tests

atf-tests Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/36cf3fd5e167f3790584fd0c7334f95848d4f4
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/5b84a021402bfc62424a4d88a4e71162c6c4d9
/usr/lib/.build-id/0a/f8171af507bd882608c8f6fc5719b435045e83
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/35b3a6eaf6d6b9d63efbc17f242b83669d6f12
/usr/lib/.build-id/20
/usr/lib/.build-id/20/945a92481c07bfa879ce1b2e4c3174cc1b9243
/usr/lib/.build-id/26
/usr/lib/.build-id/26/7f6e6544d8db01f6e4b049904012747f4a8880
/usr/lib/.build-id/36
/usr/lib/.build-id/36/92854d047ecfdc524843cb403d171c3ebb41fd
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/33ba4de34d4faa82d68fa601967ecf954b822b
/usr/lib/.build-id/3f/4df81a032c18abfc263b7fa6e9992b2abc631c
/usr/lib/.build-id/40
/usr/lib/.build-id/40/679e768761e4d9c3778eaa25eb903f3f6dc1e2
/usr/lib/.build-id/42
/usr/lib/.build-id/42/06b1cdbc87b75f15d15e31e93f24d6d93a4468
/usr/lib/.build-id/64
/usr/lib/.build-id/64/aafd4f6224a9323ff3b28f27fc80ffc89fe9ff
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/8f09995685f86eff2e48936836aee592ad7ff9
/usr/lib/.build-id/88
/usr/lib/.build-id/88/427e8afba224bb69caa0ce7e0c826d626382ad
/usr/lib/.build-id/96
/usr/lib/.build-id/96/55f7c7f709fb7aefadc18712de52c9e6e092c6
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/0eaed576b18938eb0fe1642747f08abfc7ff79
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/54db093a81305664e3726640ca51c60a1696a5
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/b995930fd449e97ebf5ba827514aa9212f3f64
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/99593a1df1cae6d988a15a6cd25c462aa11f9a
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/0352f6d632b17c28df40abd88f0190b96f6f6a
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/7f01ebe514b00223446b63732b884a6b441b0b
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/0c62ca8375473f82e58ff1db77bdc42d17de33
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/9526f1bd689c92ae35db1de99d4f9c8827a5d5
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/160f4efb6cea46a56982fb84331cbd8a3d3e30
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/0d835bd7b857b559d833a7b3b3685b593148ce
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/37aec9ed5fc8275850c5de4f3e1c6172ab450f
/usr/lib/.build-id/c8/c9a02a2ec9902f39675d252b2a8e3476ba432a
/usr/lib/.build-id/c8/e210c3862e15665087c33b65ae713cce31442e
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/9765cbd87c9715e87bcf95acaa78806264f65f
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/7c9aa297f4daa1b8bef3384e9a3a8d9bc79bca
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/b5ba255bece92ca4e6fcfc6032b10ca6b078ed
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/296f063274c825bddb67b6208470bebf98df8a
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/cfd44fb663be38c801ae205a1bf5e820e3f2a2
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/ef83f389cc22d63d810e05b50eaca238f97d6d
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/33e71fd57f792e764e927317d6b808af0c776b
/usr/lib/.build-id/f9/749329eec5f375126adc30f9a7ba764c3dbd42
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/3c586cd9e4ac08bc1938f33a38600f00e3ad7e
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/9080bf6b9c9195240b5260a0ffb79e495617f2
/usr/libexec/atf/tests
/usr/libexec/atf/tests/Kyuafile
/usr/libexec/atf/tests/atf-c
/usr/libexec/atf/tests/atf-c++
/usr/libexec/atf/tests/atf-c++/Kyuafile
/usr/libexec/atf/tests/atf-c++/atf_c++_test
/usr/libexec/atf/tests/atf-c++/build_test
/usr/libexec/atf/tests/atf-c++/check_test
/usr/libexec/atf/tests/atf-c++/config_test
/usr/libexec/atf/tests/atf-c++/detail
/usr/libexec/atf/tests/atf-c++/detail/Kyuafile
/usr/libexec/atf/tests/atf-c++/detail/application_test
/usr/libexec/atf/tests/atf-c++/detail/auto_array_test
/usr/libexec/atf/tests/atf-c++/detail/env_test
/usr/libexec/atf/tests/atf-c++/detail/exceptions_test
/usr/libexec/atf/tests/atf-c++/detail/fs_test
/usr/libexec/atf/tests/atf-c++/detail/process_test
/usr/libexec/atf/tests/atf-c++/detail/sanity_test
/usr/libexec/atf/tests/atf-c++/detail/text_test
/usr/libexec/atf/tests/atf-c++/detail/version_helper
/usr/libexec/atf/tests/atf-c++/macros_hpp_test.cpp
/usr/libexec/atf/tests/atf-c++/macros_test
/usr/libexec/atf/tests/atf-c++/pkg_config_test
/usr/libexec/atf/tests/atf-c++/tests_test
/usr/libexec/atf/tests/atf-c++/unused_test.cpp
/usr/libexec/atf/tests/atf-c++/utils_test
/usr/libexec/atf/tests/atf-c/Kyuafile
/usr/libexec/atf/tests/atf-c/atf_c_test
/usr/libexec/atf/tests/atf-c/build_test
/usr/libexec/atf/tests/atf-c/check_test
/usr/libexec/atf/tests/atf-c/config_test
/usr/libexec/atf/tests/atf-c/detail
/usr/libexec/atf/tests/atf-c/detail/Kyuafile
/usr/libexec/atf/tests/atf-c/detail/dynstr_test
/usr/libexec/atf/tests/atf-c/detail/env_test
/usr/libexec/atf/tests/atf-c/detail/fs_test
/usr/libexec/atf/tests/atf-c/detail/list_test
/usr/libexec/atf/tests/atf-c/detail/map_test
/usr/libexec/atf/tests/atf-c/detail/process_helpers
/usr/libexec/atf/tests/atf-c/detail/process_test
/usr/libexec/atf/tests/atf-c/detail/sanity_test
/usr/libexec/atf/tests/atf-c/detail/text_test
/usr/libexec/atf/tests/atf-c/detail/user_test
/usr/libexec/atf/tests/atf-c/detail/version_helper
/usr/libexec/atf/tests/atf-c/error_test
/usr/libexec/atf/tests/atf-c/macros_h_test.c
/usr/libexec/atf/tests/atf-c/macros_test
/usr/libexec/atf/tests/atf-c/pkg_config_test
/usr/libexec/atf/tests/atf-c/tc_test
/usr/libexec/atf/tests/atf-c/tp_test
/usr/libexec/atf/tests/atf-c/unused_test.c
/usr/libexec/atf/tests/atf-c/utils_test
/usr/libexec/atf/tests/atf-sh
/usr/libexec/atf/tests/atf-sh/Kyuafile
/usr/libexec/atf/tests/atf-sh/atf-check_test
/usr/libexec/atf/tests/atf-sh/atf_check_test
/usr/libexec/atf/tests/atf-sh/config_test
/usr/libexec/atf/tests/atf-sh/integration_test
/usr/libexec/atf/tests/atf-sh/misc_helpers
/usr/libexec/atf/tests/atf-sh/normalize_test
/usr/libexec/atf/tests/atf-sh/tc_test
/usr/libexec/atf/tests/atf-sh/tp_test
/usr/libexec/atf/tests/test-programs
/usr/libexec/atf/tests/test-programs/Kyuafile
/usr/libexec/atf/tests/test-programs/c_helpers
/usr/libexec/atf/tests/test-programs/config_test
/usr/libexec/atf/tests/test-programs/cpp_helpers
/usr/libexec/atf/tests/test-programs/expect_test
/usr/libexec/atf/tests/test-programs/meta_data_test
/usr/libexec/atf/tests/test-programs/result_test
/usr/libexec/atf/tests/test-programs/sh_helpers
/usr/libexec/atf/tests/test-programs/srcdir_test
/usr/share/doc/atf-tests
/usr/share/doc/atf-tests/README.Fedora

References

Summary

In this tutorial we learn how to install atf-tests on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).