diff --git a/testcases/system-test/system-integration/os-basic/oe_test_server_fontconfig/oe_test_server_fontconfig.sh b/testcases/system-test/system-integration/os-basic/oe_test_server_fontconfig/oe_test_server_fontconfig.sh index a2b824708115231f549b28dd3427822b7ca2c4ea..3f7a9b74a85321c7bd71e63235ea4e047be1e0b7 100644 --- a/testcases/system-test/system-integration/os-basic/oe_test_server_fontconfig/oe_test_server_fontconfig.sh +++ b/testcases/system-test/system-integration/os-basic/oe_test_server_fontconfig/oe_test_server_fontconfig.sh @@ -19,6 +19,12 @@ source "$OET_PATH/libs/locallibs/common_lib.sh" +function pre_test() { + LOG_INFO "Start environmental preparation." + DNF_INSTALL dejavu-fonts + LOG_INFO "End of environmental preparation!" +} + function run_test() { LOG_INFO "Start testing..." fc-list |grep fonts @@ -34,4 +40,10 @@ function run_test() { CHECK_RESULT $? 0 0 "Sorting list display failed" } +function post_test() { + LOG_INFO "start environment cleanup." + DNF_REMOVE + LOG_INFO "Finish environment cleanup!" +} + main "$@"