From 264f70c4a546544e9c4627386738dcd461e5327a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Mon, 10 Aug 2026 12:23:44 +0200 Subject: [PATCH] main/postmarketos-testlib: mark testlib scripts with -testlib suffix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Part-of: --- main/postmarketos-testlib/APKBUILD | 2 +- main/postmarketos-testlib/testlib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/postmarketos-testlib/APKBUILD b/main/postmarketos-testlib/APKBUILD index ebe7f33c3..bb9eeb771 100644 --- a/main/postmarketos-testlib/APKBUILD +++ b/main/postmarketos-testlib/APKBUILD @@ -16,5 +16,5 @@ package() { } sha512sums=" -6f468d4b2075dc25b3a48f941ae45fe358700cb3b8495aeb5bbebf7437c678290cb790e9832436eee74d78bf0bfcfba1962a339d2fa564ee4a07ac879718bf86 testlib.sh +9e1a8e0f6c10eec6771cba369126e67ef36751bac8bcbe6bbc0501dea802863fdbc2f081277efbbdc7177067cd150b72a68278be3a150b403760f74d1f6d96f2 testlib.sh " diff --git a/main/postmarketos-testlib/testlib.sh b/main/postmarketos-testlib/testlib.sh index 50999f1e1..d19fc8667 100755 --- a/main/postmarketos-testlib/testlib.sh +++ b/main/postmarketos-testlib/testlib.sh @@ -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"