public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Akira TAGOH <akira@tagoh.org>
To: git-commits@fedoraproject.org
Subject: [tests/fonts] rhel9: default_fonts: Fix unexpected matching like Noto Sans vs Noto Sans Mono
Date: Thu, 13 Aug 2026 10:29:15 GMT	[thread overview]
Message-ID: <178661695529.1.16876480598122695070.tests-fonts-ec3bbf87e0e2@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-13 10:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178661695529.1.16876480598122695070.tests-fonts-ec3bbf87e0e2@fedoraproject.org \
    --to=akira@tagoh.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox