Initial test framework and first test.

Add a basic test framework, borrowed from the framework used
by git.git.  A shell script library (tests/test-lib.sh) helps
generate the fixtures, and simplifies the process of writing
test scripts.  Tests can be run as a suite (via 'make test')
or individually (sh tests/t0000-config.sh).  Results are aggregated
upon completion.  Includes a detailed README.

A basic test of config file processing is part of this commit.

Signed-off-by: Emil Sit <sit@emilsit.net>
This commit is contained in:
Emil Sit
2009-03-23 12:03:34 -04:00
parent 0b3d9109de
commit b17cb11ec6
6 changed files with 800 additions and 3 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
VERSION-FILE
tests/test-results
tests/trash\ directory.*