diff --git a/testcases/system-test/fs-test/FS_FileSystem/oe_test_FSIO_create_squashfs.sh b/testcases/system-test/fs-test/FS_FileSystem/oe_test_FSIO_create_squashfs.sh index 8d26a087092b9124ceb2896504772d5588bb0563..f3c10b9151ab0637aa84c48e3f04f4c69cb6942f 100644 --- a/testcases/system-test/fs-test/FS_FileSystem/oe_test_FSIO_create_squashfs.sh +++ b/testcases/system-test/fs-test/FS_FileSystem/oe_test_FSIO_create_squashfs.sh @@ -20,6 +20,7 @@ source "${OET_PATH}/libs/locallibs/common_lib.sh" function pre_test() { LOG_INFO "Start to prepare the database config." + DNF_INSTALL "squashfs-tools" mkdir ./test_squashfs echo "helloworld" > ./test_squashfs/testfile LOG_INFO "Finish to prepare the database config." @@ -42,6 +43,7 @@ function post_test() { LOG_INFO "start environment cleanup." umount /mnt rm -rf ./test_squashfs.squashfs ./test_squashfs + DNF_REMOVE "$@" LOG_INFO "Finish environment cleanup!" }