From Fedora Project Wiki

(Initial testcase)
 
m (missed some template)
Line 1: Line 1:
{{QA/Test_Case
|description=This testcase is to check that fonts packages for your language is correctly installed.
|actions=
# Log in your desktop
# Open a terminal
# Run either <code><nowiki>fc-match sans:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match sans:lang=$(echo $LANG`|`sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale
# Run either <code><nowiki>fc-match sans:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match sans:lang=$(echo $LANG`|`sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale
# Similarly for serif: Run either <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale
# Similarly for serif: Run either <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale

Revision as of 12:03, 20 December 2010

Description

This testcase is to check that fonts packages for your language is correctly installed.


How to test

  1. Log in your desktop
  2. Open a terminal
  3. Run either fc-match sans:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/') or fc-match sans:lang=$(echo $LANG`|`sed -e 's/_/-/g' -e 's/\..*//g') according to your current locale
  4. Similarly for serif: Run either fc-match serif:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/') or fc-match serif:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g') according to your current locale
  5. Similarly for monospace: Run either fc-match monospace:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/') or fc-match monospace:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g') according to your current locale

Expected Results

  1. Compare the result to the font packages list (TBD)