test suite, create temp dir and export $TS_TMPDIR
test suite, move tool_stdout and tool_stderr to $TS_TMPDIR
test suite export and use $TS_EXP_STDOUT and -ERR

The tests need to be fixed now!
tests, fix for previous test suite changes
test suite export and use $OUTFILE

The tests should be fixed now!
tests, fix for previous test suite changes ($OUTFILE)
test suite, also export TS_STDIN
test suite, remove unused function rm_if_not_src
test suite, move myexit() up to be used earlier
test suite, remove function find_file()
test suite, always check exit code
test suite, export and use $TS_DIFF_OPTS
tests, use $TS_DIFF_OPTS to get rid off head

Now we can check the exit code here.
test suite, don't use $(...) clauses but portable backticks
test-suite, remove unused option --hash
test-suite, don't use non-portable getopt command
test suite, various fixes for sha1sum comparison

Test fails now if sha1sum calculation fails (command not found or
missing $OUTFILE). Also try "sha1 -n" if sha1sum fails (NetBSD).
Merge branch 'tests'

* tests:
  test suite, various fixes for sha1sum comparison
  test-suite, don't use non-portable getopt command
  test-suite, remove unused option --hash
  test suite, don't use $(...) clauses but portable backticks
  tests, use $TS_DIFF_OPTS to get rid off head
  test suite, export and use $TS_DIFF_OPTS
  test suite, always check exit code
  test suite, remove function find_file()
  test suite, move myexit() up to be used earlier
  test suite, remove unused function rm_if_not_src
  test suite, also export TS_STDIN
  tests, fix for previous test suite changes ($OUTFILE)
  test suite export and use $OUTFILE
  tests, fix for previous test suite changes
  test suite export and use $TS_EXP_STDOUT and -ERR
  test suite, move tool_stdout and tool_stderr to $TS_TMPDIR
  test suite, create temp dir and export $TS_TMPDIR
tests, don't use non portable "date -r"
test suite, fix sha1sum for OpenBSD