public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/fonts] rhel9: default_fonts: Fix unexpected matching like Noto Sans vs Noto Sans Mono
@ 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 : ec3bbf87e0e2949afd85bd793d0ad558dde63e15
Author : Akira TAGOH <akira@tagoh.org>
Date : 2024-07-04T18:46:29+09:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/tests/fonts/c/ec3bbf87e0e2949afd85bd793d0ad558dde63e15?branch=rhel9
Log:
default_fonts: Fix unexpected matching like Noto Sans vs Noto Sans Mono
---
diff --git a/tests/default_fonts/test.sh b/tests/default_fonts/test.sh
index 54134ba..207581a 100755
--- a/tests/default_fonts/test.sh
+++ b/tests/default_fonts/test.sh
@@ -24,9 +24,9 @@ rlJournalStart
v="DEFAULT_${g^^}"
rlRun "fc-match -f \"%{family[0]}\\n\" \":family=$g:lang=${l/und*/en}\" | tee output" 0 "Checking $g default font for lang ${l/und*/en}"
if [ ${!v} -eq 1 ]; then
- rlAssertGrep "$FONT_FAMILY" "output"
+ rlAssertGrep "^$FONT_FAMILY\$" "output"
else
- rlAssertNotGrep "$FONT_FAMILY" "output"
+ rlAssertNotGrep "^$FONT_FAMILY\$" "output"
fi
done
done
^ 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: default_fonts: Fix unexpected matching like Noto Sans vs Noto Sans Mono Akira TAGOH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox