|
There are two types of lua tests here:
1. Tests are formed from a <test>.in, <test>.ref and <test>.out triplet. The
<test>.in file is opened by vis, some operatations are performed and the
modified file is written to <test>.out. The new <test>.out is compared to
<test>.ref and the test passes if they are identical.
2. Tests are formed from a single <test>.true file. This file is created by the
lua code in the test. It contains a single line per test case, this single
line should be `true` if the test case passed. The <test>.true file is
checked to ensure it contains only `true` lines and if so, the test passes.
|