Original title:
Testovací dvojník pro zařízení a soubory
Translated title:
Device and file test double
Authors:
Záležák, Daniel ; Peringer, Petr (referee) ; Smrčka, Aleš (advisor) Document type: Bachelor's theses
Year:
2025
Language:
slo Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[slo][eng]
Táto práca rieši problematiku testovania softvéru. V istých prípadoch nie je možné zhotoviť vhodné prostredie na otestovanie daného softvéru. Cieľom tejto práce je vytvoriť testovacieho dvojníka, ktorý dokáže nasimulovať vhodné prostredie. Hlavným zameraním tohto testovacieho dvojníka je práca so špeciálnymi a bežnými súbormi. Zvolený problém je riešený vytvorením vlastnej zdieľanej knižnice a mechanizmu LD_PRELOAD, ktorý umožňuje nahradiť volania knižnice GNU C na systémoch GNU/Linux. Testovací dvojník je navrhnutý na testovanie diagnostického softvéru sos od Red Hat. Je sa však využiteľný aj na testovanie iných aplikácií.
This work addresses the issue of software testing. In some cases, it is not possible to create a~suitable environment for testing the given software. The goal of this work is to create a test double that can simulate an appropriate environment. The main focus of this test double is working with special and common files. The chosen problem is solved by creating a custom shared library and the LD_PRELOAD mechanism, which allows overriding GNU~C library calls on GNU/Linux systems. The test double is designed for testing the diagnostic software sos from Red Hat, but it can also be used for testing other applications.
Keywords:
LD_PRELOAD; shared library; software testing; special files; Test double
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/253685