Don't load unnecessary config files to test.
This commit is contained in:
parent
c8a9fb2407
commit
fb8b835d29
1 changed files with 1 additions and 2 deletions
|
|
@ -131,7 +131,6 @@ cat <<_EOF_> $tmpconfd/fonts.conf
|
|||
<fontconfig>
|
||||
<dir>/usr/share/fonts</dir>
|
||||
$conf
|
||||
<include ignore_missing="yes">conf.d</include>
|
||||
<cachedir>$cachedir</cachedir>
|
||||
</fontconfig>
|
||||
_EOF_
|
||||
|
|
@ -144,7 +143,7 @@ logfile_stderr="$OPT_ARTIFACTS_DIR/$STR_TEST_DASHED-err.log"
|
|||
exec 3>&1 4>&2 1> >(tee -a "$logfile_stdout" >&3) 2> >(tee -a "$logfile_stderr" >&4)
|
||||
|
||||
debug "Check family assignment"
|
||||
res=`FONTCONFIG_FILE=$tmpconfd/fonts.conf fc-match -f "%{family[0]}" $OPT_ALIAS:lang=$OPT_LANG`
|
||||
res=`FONTCONFIG_FILE=$tmpconfd/fonts.conf fc-match -f "%{family[0]}" :family=$OPT_ALIAS:lang=$OPT_LANG`
|
||||
if [ "x$res" = "x$OPT_FAMILY" ]; then
|
||||
echo "RESULT: PASS: $OPT_FAMILY was assigned to $OPT_ALIAS as expected"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue