public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/fonts] rhel9: validate_family: rename FONT_EXCLUDE to FONT_VALIDATE_EXCLUDE_FILES
@ 2026-08-13 10:29 Akira TAGOH
0 siblings, 0 replies; only message in thread
From: Akira TAGOH @ 2026-08-13 10:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/fonts
Branch : rhel9
Commit : e1f2496c084642929b8807d73ea3416a102ff7fa
Author : Akira TAGOH <akira@tagoh.org>
Date : 2024-06-26T17:27:35+09:00
Stats : +4/-4 in 2 file(s)
URL : https://src.fedoraproject.org/tests/fonts/c/e1f2496c084642929b8807d73ea3416a102ff7fa?branch=rhel9
Log:
validate_family: rename FONT_EXCLUDE to FONT_VALIDATE_EXCLUDE_FILES
---
diff --git a/README.rst b/README.rst
index 380c718..053b865 100644
--- a/README.rst
+++ b/README.rst
@@ -108,7 +108,7 @@ Available test cases
- PACKAGE
- FONT_FAMILY
- - FONT_EXCLUDE (optional)
+ - FONT_VALIDATE_EXCLUDE_FILES (optional)
Set a regexp to skip some bogus fonts.
diff --git a/tests/validate_family/test.sh b/tests/validate_family/test.sh
index 42f24c5..8dcf9fc 100755
--- a/tests/validate_family/test.sh
+++ b/tests/validate_family/test.sh
@@ -4,7 +4,7 @@
PACKAGE=${PACKAGE:-"blahblah-fonts"}
FONT_FAMILY=${FONT_FAMILY:-"family anme"}
-FONT_EXCLUDE=${FONT_EXCLUDE:-}
+FONT_VALIDATE_EXCLUDE_FILES=${FONT_VALIDATE_EXCLUDE_FILES:-${FONT_EXCLUDE:-}}
function get_font_path() {
fontlist=$(rpm -ql $PACKAGE|grep /usr/share/fonts)
@@ -15,10 +15,10 @@ function get_font_path() {
}
function check_exception() {
- if [ "x$FONT_EXCLUDE" == "x" ]; then
+ if [ "x$FONT_VALIDATE_EXCLUDE_FILES" == "x" ]; then
echo -n 1
else
- echo $1 | grep -E "$FONT_EXCLUDE" 2>&1 > /dev/null
+ echo $1 | grep -E "$FONT_VALIDATE_EXCLUDE_FILES" 2>&1 > /dev/null
echo -n $?
fi
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-13 10:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 10:29 [tests/fonts] rhel9: validate_family: rename FONT_EXCLUDE to FONT_VALIDATE_EXCLUDE_FILES Akira TAGOH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox