Shell and Utilities No.6 vi Test Scenario

Last Update: 31-Jan-2002
Current Version: 1.0.4-2
Authorized Date: 03-Oct-2002

Assertion 1 : Verify the cursor can move per 1 character.

  1. Prepare a text file `test1.in' for this test from here.
  2. Open a terminal emulator such as xterm, rxvt, ...
  3. Make sure your running locale is LTP_1.UTF-8.
  4. Enter the following command:
    vi test1.in.
  5. Move cursor by entering 'h', 'j', 'k', or 'l(ell)' and check if the cursor can move per character.

Assertion 2 : Verify this utility can delete per character.

  1. Prepare a text file `test1.in' for this test from here.
  2. Open a terminal window such as xterm, rxvt, ...
  3. Make sure your running locale is LTP_1.UTF-8.
  4. Enter the following command:
    vi test1.in.
  5. Delete a character by entering 'x' and check if the character on the cursor can be deleted.

Assertion 3 : When a line which includes multibyte characters is edited with regular expression, verify this utility realizes character boundaries correctly.

(This test is included in the automatic test.)

OpenI18N 1.2 Specification -- Shell and Utilities No.6 vi Test Scenario