community/cabextract: enable tests
for some reason the apkbuild doesn't include tests
all tests seem to pass just fine, except 2: test/encoding.test
and symlinks.test
this works for me in an alpine chroot, but perhaps the apkbuild requires the sed command to be in prepare(), or somewhere else. since a similar fix failed to apply the last time I opened a PR, and now the gitlab web editor seems to be broken on firefox 91.13/102.2 LTS or something like that
check() {
# musl: FATAL ERROR: encoding 'koi8-ru' is not recognised
sed -i 's%koi8-ru%koi8-r%' test/encoding.test
# busybox find doesn't implement -ls (find: unrecognized: -ls)
sed -i 's% -ls%%' test/symlinks.test
make check
}
findutils is not installed