Restructure test folders to separate test/oracle/result
Support test folder structure where test, oracle and generated result
data are stored each in separate directory. This makes it easier to
ensure legible diff output without cluttering the filenames too much.
This new hierarchy makes it easier to work simultaneously on data and
the script, simplifies deployment to tempdir and makes the launching
script naming consistent with simple.sh.
Now testname.oracle file can specify expected exit status file
as well, or different path for stdout/stderr oracles (default is
testname.oracle.stdout and testname.oracle.stderr)
This effectively allows for testing scenarios where exit status or error
output can be tested as well.
As a followup to last revamp:
* Use more extensible test definition format,
* separate testing framework from setup script and split to includes,
* update test scripts as well as data,
* consolidate test output,
* and make some small improvements/fixes on the way.
* Enable running all tests via make,
* simplify tests (lay off data/tmpdir manipulation to framework),
* set rules for naming, exit statuses, etc,
* remove beakerlib dependency.