main/postmarketos-testlib: mark testlib scripts with -testlib suffix

When using the packaged version, the testlib scripts are part of the
source files, and we need a clearer way to differentiate them from
other scripts.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9419>
This commit is contained in:
Pablo Correa Gómez
2026-08-21 10:06:23 +00:00
parent b9dfe7c365
commit 264f70c4a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,5 +16,5 @@ package() {
}
sha512sums="
6f468d4b2075dc25b3a48f941ae45fe358700cb3b8495aeb5bbebf7437c678290cb790e9832436eee74d78bf0bfcfba1962a339d2fa564ee4a07ac879718bf86 testlib.sh
9e1a8e0f6c10eec6771cba369126e67ef36751bac8bcbe6bbc0501dea802863fdbc2f081277efbbdc7177067cd150b72a68278be3a150b403760f74d1f6d96f2 testlib.sh
"
+1 -1
View File
@@ -244,7 +244,7 @@ run_tests() {
# FIXME: yeah this isn't quite the best way to iterate the files
# shellcheck disable=SC2010
for name in $(ls "$1" | grep "\.sh$"); do
for name in $(ls "$1" | grep "\-testlib\.sh$"); do
test="$1/$name"
mkdir "$test_results_base/$name"
echo 0 > "$test_results_base/$name/passedn"