Ignore unstripped relocatable ELF binaries.
Be more selective when reporting weird user/group ownership.

Group ownership under /usr can vary quite a bit, so requiring
everything to be root:root is a bit too strict. However, user
ownership does usually go to root, so check for that and add
special handling for known exceptions.
Added testcase templates.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup install_dir-bad

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup symlink-bad

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup icon-bad and icon-good

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: Add expected results.

Each testcase contains a file usr/doc/CASE-0.0/expected that lists
all the codes that should be returned.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup ownership-bad

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: Add MakeTestcases.sh.

This script builds all the test case packages.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: Rename MakeTestcases.sh. to RunTestCases.sh.

It now runs the test cases after building them.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: Fix ownership-bad expected output.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup disallowed_dirs-bad and disallowed_dirs-good

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup info-bad and info-good

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup tar113-bad

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: revise ownership-bad and RunTestCases.sh.

Use a tarball structure that will also work for permissions-bad.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup permissions-bad and add it to RunTestCases.sh

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: add unstripped_binaries-bad and -good

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: add usr_share-bad and -good

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: remove usr_doc-*

Signed-off-by: David Spencer <baildon.research@googlemail.com>
testcases: setup slack-desc-good and slack-desc-bad-*

Signed-off-by: David Spencer <baildon.research@googlemail.com>