OpenI18N 1.2 Specification

Automatic Test Scenarios

Update 01-Jul-2003

Here is a guide to the installation and execution for the OpenI18N 1.2 Level.1 conformance test suites.
Following three files are required for the OpenI18N 1.2 Level.1 conformance test suites execution.

We have not done a check of execution except Linux systems.

The current test suites status is the following:

Note: (2003/10/7)
The maintenance release `lts_li18nux_L1_1.0.4-20030701.tgz' is withdrawed, because openi18n-1.3 testsuite will be released soon.


Installation Instructions

  1. Download the above three files.
     - install.sh <-- (Installer/Setup script)
     - tet_vsxgen_li18nux_1.1.tgz <-- (TET/VSXgen framework)
     - lts_li18nux_L1_x.y.z-n.tgz <-- (OpenI18N 1.2 Lv.1 conformance test suites)

  2. Ensure that all of the files downloaded are in the same directory.

  3. Execute the install.sh script as root user.
    The script will look after the creation of the test user accounts (vsx0, vsx1 and vsx2) and groups (vsxg*, supp*).
    Here is an example of the execution of install.sh.

  4. Logout from the system after you finish all your application programs and X Window.

Execution Instructions

  1. Login as vsx0 user.

  2. Start X Window system.

  3. Run `../setup.sh' script file.
    Here is an example of the execution.

    In order to rerun the test suite at a later date, run the `$HOME/rerun_tests' script file.

Test results

The `setup.sh` and `rerun_tests` shell script files generate the result report of test execution to the `$HOME/results/report' file.
*) If you want to get a report as HTML file, refer to Note 4.

Each word of the result means the following:

Succeeded Implementation satisfies the assertion.
Failed Implementation does not satisfy the assertion.
Warning Implementation does not satisfy the assertion. But the assertion is waived currently.
(The waiver items are listed at the cetification subgroup page.)
Further Information Provided The specification does not require the implementation always satisfies the assertion.
But a document which explains how to satisfy the assertion is required when the implementation does not satisfy assertion.
Untested The situation described in the assertion is not occurred. So the test program does not exist.
Unresolved The test program of the assertion is terminated abnormally.
Unreported The test program of the assertion is terminated, and the reason why it is terminated is ambiguous.

Note: The meanings of result codes are different from them on the LI18NUX2000 pilot program.

You need to do some actions the following results to conform the OpenI18N 1.2 globalization specification.


Web Certification

The journal file of this test suites is required at the web certification. (And each result of interactive tests is required.) When you make a journal file to submit to the web certification system, please follow the following description to produce the exact result.

  1. If some test suites ran on the target system using TET/VSX test framework (for example, OpenI18N or LSB test suites ran on your system before), delete the installed files. The following is the example of how to do that.
    $ su
    # rm -rf /home/tet
  2. Install the test suites according to the Installation Instructions.
  3. Execute the test suites according to the Execution Instructions.

The journal file which is required by web certification system is made in the `~/results/0002e/' directory.

The following test results may be FIP (Further Information Provided).

Section target No. Assertion
Annex locale 2 Check that some locales listed in Annex B (except the locale which marked with [Support of this locale is level2]) are provided and the others are documented how to install it.
Annex locale 3 Check that the above locales are supporting UTF-8 as a codeset at least.
gui language_support 1 Verify that the languages (except CTL languages) listed by Annex B are supported by setlocale() and XSupportsLocale() functions.

If the journal file has some FIP code, you have to prepare a document which explains how to satisfy the assertion.


NOTES:

  1. The script files for the installation and execution are interactively executed. In this case, the inside of a bracket indicates the default value.

  2. This testsuite cannot find the shell aliases.
    So the testsuite returns failure against utilities which are aliases of other commands. (e.g. When `vi' is defined as an alias of vim command, the i18n functionality of `vi' is fine, but testsuite returns failure.)

  3. All test program included in this test suites run on a special locale `LTP_1.UTF-8'.
    If you want to cut one test program from the testsuite and make the test program run, unset all locale environment variables and substitute LTP_1.UTF-8 for LANG variable.

    The following is the example of how to do that.
    $ for i in `locale | cut -f 1 -d '='` ; do unset ${i} ; done
    $ LANG=LTP_1.UTF-8 ; export LANG
  4. The results of all the tests are collected into one journal file under the `results/NNNNe/' directory in an uniform way, where `NNNN' indicates a sequential number from 1, and `e' indicates that it is a result in the test execution.

    To generate report file from a journal file directly, you can use the `vrpt' command below.
    $ vrpt ~/results/0002e/journal
    To generate report HTML file from a journal file directly, you can use the `jnl2html' command below.
    (jnl2html: Source, x86 binary)
    $ jnl2html ~/results/0002e/journal
  5. If you want to execute test per testset/area, you can use `build' command with a testset/area name argument below. In the execution without an arguments, the area/testset names list will be displayed.
    $ build env
    $ build gui
  6. The OpenI18N 1.2 conformance test suites contains SRC/subset and tset directories which contains test set code. It also should contain a scripts/li18nux2k_level1 directory which contains scripts which are to be run at suitable times during the setup and installation of the installed test suites.

  7. Please note that for the official certification any issues will need to be resolved through a official problem report at the certification web site.