mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
It takes about a second to execute the suite. Sample output (the "ERRORs" are coming from negative tests): root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-26T20:19 BEGIN: /usr/lib/exfatprogs/ptest Running ./bad_file_size ----------------------------------- exfatprogs version : 1.2.6 ERROR: /dir_01/bad_child_01: less clusters are allocated. truncates to 8192 bytes at 0x206060. Truncate (y/N)? y ERROR: /dir_02/bad_child_02: more clusters are allocated. truncate to 8192 bytes at 0x209060. Truncate (y/N)? y exfat.img: clean. directories 3, files 9 exfat.img: files corrupted 0, files fixed 1 exfatprogs version : 1.2.6 exfat.img: clean. directories 4, files 10 PASS: ./bad_file_size [...many lines...] PASS: ./bad_num_chain Running ./loop_chain ----------------------------------- exfatprogs version : 1.2.6 ERROR: /dir_01/bad_child_01: more clusters are allocated. truncate to 16384 bytes at 0x206060. Truncate (y/N)? y ERROR: /dir_02/bad_child_02: cluster is already allocated for the other file. truncated to 8192 bytes at 0x209060. Truncate (y/N)? y exfat.img: clean. directories 3, files 9 exfat.img: files corrupted 0, files fixed 1 exfatprogs version : 1.2.6 exfat.img: clean. directories 4, files 10 PASS: ./loop_chain PASS: 17 of 17 DURATION: 1 END: /usr/lib/exfatprogs/ptest 2025-12-26T20:21 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
1.3 KiB
BlitzBasic
33 lines
1.3 KiB
BlitzBasic
SUMMARY = "exFAT filesystem userspace utilities"
|
|
DESCRIPTION = "\
|
|
As new exfat filesystem is merged into linux-5.7 kernel, exfatprogs is \
|
|
created as an official userspace utilities that contain all of the standard \
|
|
utilities for creating and fixing and debugging exfat filesystem in linux \
|
|
system. The goal of exfatprogs is to provide high performance and quality \
|
|
at the level of exfat utilities in windows. And this software is licensed \
|
|
under the GNU General Public License Version 2."
|
|
HOMEPAGE = "https://github.com/${BPN}/${BPN}"
|
|
SECTION = "universe/otherosfs"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
|
|
file://run-ptest"
|
|
SRC_URI[sha256sum] = "89d05b7a9537f2413079b724ec8d02d7a2e291c29c52e7256303e9456200fb0f"
|
|
|
|
UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
|
|
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
|
|
|
|
inherit autotools ptest
|
|
|
|
RPROVIDES:${PN} = "exfat-utils"
|
|
RCONFLICTS:${PN} = "exfat-utils"
|
|
RREPLACES:${PN} = "exfat-utils"
|
|
RDEPENDS:${PN}-ptest += "bash xz"
|
|
|
|
do_install_ptest(){
|
|
cp -r ${S}/tests ${D}${PTEST_PATH}
|
|
sed -i "s,Passed,PASS:," ${D}${PTEST_PATH}/tests/test_fsck.sh
|
|
sed -i "s,Failed,FAIL:," ${D}${PTEST_PATH}/tests/test_fsck.sh
|
|
}
|