From fb8b835d295ad119de2195caab8e63b0f84de427 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: May 16 2019 08:21:10 +0000 Subject: Don't load unnecessary config files to test. --- diff --git a/tests/roles/custom-test-fonts/files/run-family-test b/tests/roles/custom-test-fonts/files/run-family-test index ec83c8e..9b5cc2c 100755 --- a/tests/roles/custom-test-fonts/files/run-family-test +++ b/tests/roles/custom-test-fonts/files/run-family-test @@ -131,7 +131,6 @@ cat <<_EOF_> $tmpconfd/fonts.conf /usr/share/fonts $conf - conf.d $cachedir _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