minor, import truf-test tool to do the opt-parsing for the test script

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
test suite, copy over improved test suite from atem

Now our test suite equals to atem bff04492 minus the option parsing section
(because here they are parsed by ut-test binary).

The tests still need to be fixed and we have to re-add missing feautures (
REFFILE, hexdiff, CDMFILE, multiple SHA1 sums)

Signed-off-by: Sebastian Freundt <freundt@fresse.org>

Conflicts:
	test/ut-test.sh
chore, migrate .truftest files to new test environment

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
tests, add clean rule for local tempdirs

They are not automatically removed when test fails.

Signed-off-by: Sebastian Freundt <freundt@fresse.org>

Conflicts:
	test/Makefile.am
chore, migrate .truftest files to new test environment

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, take schemas and series from ${srcdir}

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
Merge branch 'test/optparser' into next

* test/optparser:
  minor, take schemas and series from ${srcdir}
  chore, migrate .truftest files to new test environment
  tests, add clean rule for local tempdirs
  chore, migrate .truftest files to new test environment
  test suite, copy over improved test suite from atem
  minor, import truf-test tool to do the opt-parsing for the test script