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: Fix path to lookup
Date: Thu, 13 Aug 2026 10:29:18 GMT [thread overview]
Message-ID: <178661695806.1.3165273877599589503.tests-fonts-b4b6555a6c89@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/fonts
Branch : rhel9
Commit : b4b6555a6c89193b126691d37287282f69453c38
Author : Akira TAGOH <akira@tagoh.org>
Date : 2024-07-08T18:18:23+09:00
Stats : +10/-16 in 4 file(s)
URL : https://src.fedoraproject.org/tests/fonts/c/b4b6555a6c89193b126691d37287282f69453c38?branch=rhel9
Log:
Fix path to lookup
---
diff --git a/tests/default_fonts/test.sh b/tests/default_fonts/test.sh
index 99c2ded..df5b2fb 100755
--- a/tests/default_fonts/test.sh
+++ b/tests/default_fonts/test.sh
@@ -1,8 +1,6 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-basedir=$(pwd)
-
. /usr/share/beakerlib/beakerlib.sh || exit 1
DEFAULT_SANS=${DEFAULT_SANS:-0}
@@ -47,9 +45,11 @@ rlJournalStart
rlRun "set -o pipefail"
rlPhaseEnd
- if [ -n "$VARLIST" ] && [ -f "$basedir/../../plans/$VARLIST" ]; then
+ rlLogInfo "$(ls -a $TMT_TREE)"
+ rlLogInfo "$(env)"
+ if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
- cat "$basedir/../../plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY DEFAULT_SANS DEFAULT_SERIF DEFAULT_MONO DEFAULT_EMOJI DEFAULT_MATH dummy; do
+ cat "$TMT_TREE/plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY DEFAULT_SANS DEFAULT_SERIF DEFAULT_MONO DEFAULT_EMOJI DEFAULT_MATH dummy; do
test_default_fonts "$PACKAGE" "$FONT_FAMILY" "$FONT_LANG" "$DEFAULT_SANS" "$DEFAULT_SERIF" "$DEFAULT_MONO" "$DEFAULT_EMOJI" "$DEFAULT_MATH"
done
else
diff --git a/tests/generic_alias/test.sh b/tests/generic_alias/test.sh
index f146329..ec79df1 100755
--- a/tests/generic_alias/test.sh
+++ b/tests/generic_alias/test.sh
@@ -1,8 +1,6 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-basedir=$(pwd)
-
. /usr/share/beakerlib/beakerlib.sh || exit 1
FONT_ALIAS=${FONT_ALIAS:-"sans-serif"}
@@ -58,9 +56,9 @@ rlJournalStart
rlRun "tmpconfd=\$(mktemp -d)" 0 "Create tmp conf.d directory"
rlPhaseEnd
- if [ -n "$VARLIST" ] && [ -f "$basedir/../../plans/$VARLIST" ]; then
+ if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
- cat "$basedir/../../plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY dummy; do
+ cat "$TMT_TREE/plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY dummy; do
test_pkg "$PACKAGE"
test_generic_alias "$PACKAGE" "$FONT_ALIAS" "$FONT_LANG" "$FONT_WIDTH" "$FONT_FAMILY"
done
diff --git a/tests/lang_coverage/test.sh b/tests/lang_coverage/test.sh
index 31aa0e8..03cbc94 100755
--- a/tests/lang_coverage/test.sh
+++ b/tests/lang_coverage/test.sh
@@ -1,8 +1,6 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-basedir=$(pwd)
-
. /usr/share/beakerlib/beakerlib.sh || exit 1
FONT_LANG=${FONT_LANG:-"en"}
@@ -71,9 +69,9 @@ rlJournalStart
rlRun "set -o pipefail"
rlPhaseEnd
- if [ -n "$VARLIST" ] && [ -f "$basedir/../../plans/$VARLIST" ]; then
+ if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
- cat "$basedir/../../plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY SANS SERIF MONO EMOJI MATH FONT_LANG_EXCLUDE_FILES dummy; do
+ cat "$TMT_TREE/plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY SANS SERIF MONO EMOJI MATH FONT_LANG_EXCLUDE_FILES dummy; do
test_lang_coverage "$PACKAGE" "$FONT_LANG" "$FONT_LANG_EXCLUDE_FILES"
done
else
diff --git a/tests/validate_family/test.sh b/tests/validate_family/test.sh
index c4d2dff..f1fcac4 100755
--- a/tests/validate_family/test.sh
+++ b/tests/validate_family/test.sh
@@ -1,8 +1,6 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-basedir=$(pwd)
-
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE=${PACKAGE:-"blahblah-fonts"}
@@ -67,9 +65,9 @@ rlJournalStart
rlRun "set -o pipefail"
rlPhaseEnd
- if [ -n "$VARLIST" ] && [ -f "$basedir/../../plans/$VARLIST" ]; then
+ if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
- cat "$basedir/../../plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY SANS SERIF MONO EMOJI MATH FONT_LANG_EXCLUDE_FILES FONT_VALIDATE_EXCLUDE_FILES dummy; do
+ cat "$TMT_TREE/plans/$VARLIST" | grep -E -v "^#" | while IFS=";" read -r PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH FONT_FAMILY SANS SERIF MONO EMOJI MATH FONT_LANG_EXCLUDE_FILES FONT_VALIDATE_EXCLUDE_FILES dummy; do
test_validate_family "$PACKAGE" "$FONT_FAMILY" "$FONT_VALIDATE_EXCLUDE_FILES"
done
else
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=178661695806.1.3165273877599589503.tests-fonts-b4b6555a6c89@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