public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/fonts] rhel9: generic_alias: Fix a typo and file list
@ 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 : 598d251189d06ffd9b70dac340baeb044d96434a
Author : Akira TAGOH <akira@tagoh.org>
Date   : 2024-06-24T15:21:05+09:00
Stats  : +2/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/tests/fonts/c/598d251189d06ffd9b70dac340baeb044d96434a?branch=rhel9

Log:
generic_alias: Fix a typo and file list

---
diff --git a/tests/generic_alias/test.sh b/tests/generic_alias/test.sh
index 24d0d8e..021158b 100755
--- a/tests/generic_alias/test.sh
+++ b/tests/generic_alias/test.sh
@@ -15,7 +15,7 @@ rlJournalStart
         rlRun "set -o pipefail"
 	rlRun "cachedir=\$(pkg-config --variable cachedir fontconfig)" 0 "Set cachedir"
 	rlRun "tmpconfd=\$(mktemp -d)" 0 "Create tmp conf.d directory"
-	rlRun "conffiles=\$(rpm -ql $PACKAGE | grep conf.d)"
+	rlRun "conffiles=\$(rpm -ql $PACKAGE | grep conf.d | tr '\n' ' ')"
 	rlRun "conf=\$(for i in $conffiles; do
   echo \"<include>\$i</include>\"
 done)"
@@ -34,7 +34,7 @@ _E_" 0 "Create fonts.conf"
 
     rlPhaseStartTest
         rlRun "cat $tmpconfd/fonts.conf"
-	rlRun "FONTCONFIG=$tmpconfd/fonts.conf fc-match -f \"%{family[0]}\" \":family=$FONT_ALIAS:lang=$FONT_LANG:width=$FONT_WIDTH\" | tee output" 0 "Matching a font"
+	rlRun "FONTCONFIG_FILE=$tmpconfd/fonts.conf fc-match -f \"%{family[0]}\\n\" \":family=$FONT_ALIAS:lang=$FONT_LANG:width=$FONT_WIDTH\" | tee output" 0 "Matching a font"
         rlAssertGrep "$FONT_FAMILY" "output"
     rlPhaseEnd
 

^ 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: generic_alias: Fix a typo and file list Akira TAGOH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox