The Linux Test Project is a joint project started by SGI and maintained by IBM®, that has a goal to deliver test suites to the open source community that validate the reliability, robustness, and stability of Linux. The LTP testsuite contains a collection of tools for testing the Linux kernel and related features. For more details about LTP project, please, visit LTP home page.

Enviroment and Tools

Software testing have to guarantee the test repeatiblity, over a defined period of time. The test, have to ensure a comparisons from consistent results.
Using lab machines, and tests available for Linux (from LTP test suite), we suited a simple test procedure, and a stable hardware configuration. It guarantee a good test repetibility and obtaining comparable results.

Required hardware:

  • Host PC
  • Target Set Top Box plus an HD (wired into your target STB)
  • NFS: connecting the Host PC and your Target Board

Procedure

  • HD preparation:
  • Install the ST Linux target files on the HD of your Target Set Top Box. (it will contain also the current distributed LTP)
  • Booting the Target Board:
  • Using the kernel under test, boot your target Set Top Box mounting the STB HD as root FS. (it allow you to 'insulate' your system under test, avoiding side effects like: company net trafic, network timeout etc.)

    NOTE: Some tests require to have POSIX_MQUEUE support enabled in the kernel.

  • Running LTP
  • running LTP is simple: just execute the 'runltp' script contained in the ltp diectory, and collect your data in a log file (example: LTP.log)
 target#./runltp > LTP.log