From Fedora Project Wiki

No edit summary
(Explicit include libreoffice as an test example, use yum instead of manual koji download)
Line 4: Line 4:
# On a Fedora 12 or later system, check if your system has {{package|yum-langpacks}} plugin installed by executing:  
# On a Fedora 12 or later system, check if your system has {{package|yum-langpacks}} plugin installed by executing:  
#:<pre>rpm -q yum-langpacks</pre>
#:<pre>rpm -q yum-langpacks</pre>
#* If the package is not installed, download from [http://kojipkgs.fedoraproject.org/packages/yum-langpacks/0.1.4/2.fc13/noarch/yum-langpacks-0.1.4-2.fc13.noarch.rpm koji] and install it: <pre>rpm -ivh yum-langpacks-0.1.4-2.fc13.noarch.rpm</pre>
#* If the package is not installed, install it using yum: <pre>yum install yum-langpacks</pre>
# Open ''Add/Remove Software'' application either by gpk-application or from desktop menus: System->Administration->Add/Remove Software.
# Open ''Add/Remove Software'' application either by gpk-application or from desktop menus: System->Administration->Add/Remove Software.
# Install several packages such as {{package|kde-desktop}}, {{package|koffice}} or {{package|eclipse}} etc and check if current locale langpack of installed application is searched out and installed automatically.  
# Install several packages such as {{package|kde-desktop}}, {{package|koffice}}, {{package|libreoffice}} or {{package|eclipse}} etc and check if current locale langpack of installed application is searched out and installed automatically.  
# Logout. In GDM, before entering password, change desktop language to another and login again.   
# Logout. In GDM, before entering password, change desktop language to another and login again.   
# Install or update several packages again using ''Add/Remove Software'' application.
# Install or update several packages again using ''Add/Remove Software'' application.

Revision as of 02:56, 9 February 2011

Description

This test case tests whether langpack can take effect in PackageKit.


How to test

  1. On a Fedora 12 or later system, check if your system has Package-x-generic-16.pngyum-langpacks plugin installed by executing:
    rpm -q yum-langpacks
    • If the package is not installed, install it using yum:
      yum install yum-langpacks
  2. Open Add/Remove Software application either by gpk-application or from desktop menus: System->Administration->Add/Remove Software.
  3. Install several packages such as Package-x-generic-16.pngkde-desktop, Package-x-generic-16.pngkoffice, Package-x-generic-16.pnglibreoffice or Package-x-generic-16.pngeclipse etc and check if current locale langpack of installed application is searched out and installed automatically.
  4. Logout. In GDM, before entering password, change desktop language to another and login again.
  5. Install or update several packages again using Add/Remove Software application.

Expected Results

  1. In Add/Remove Software, when select the package and click Apply, its current locale langpack should be listed as a package candidate for installation.
  2. After the package/group package installed, its current locale langpack should be installed automatically.