This directory contains the testsuite for the GPS CLI.

There is one test per subdirectory.

To run the whole testsuite, use: ./run.sh
To run an invidiual test, use:   ./run.sh <test>

The structure of an individual test is as follows:

 * if there is a 'test.cmd' present, it is executed.
   You can use $GPS_CLI in this test.cmd to indicate
   the gps_cli program.

   A test.cmd may exit with code 100 to indicate an
   XFAIL, and with code 99 to indicate a DEAD test.

 * if there is no 'test.cmd' present, but there is
   a 'test.py' present, then gps_cli is invoked with

      gps_cli -Pdefault --load=test.py

 * if there is a file 'expected' present, any output
   of the run is compared to this file. Any difference
   means an error

 * if there is no file 'expected' present, any output
   means an error.
