Merge branch 'test/basic' into next

* test/basic: (24 commits)
  fix, PEBKAC, check for trailing \ or <<EOF only in current line
  test, adapt del_03 regression to not having a (pseudo) tty at the moment
  chore, link clitoris tool statically
  fix, PEBKAC, cope with someone not setting ${builddir} or specifying --builddir
  minor, actually call the binaries from ${builddir} (or --builddir)
  chore, down the timeout value for unexpected output
  revert, essentially allow both forkpty() and vfork()
  trial, see if forkpty() instead of vfork() solves the istty() issue with del_03.tst
  hygiene, use STD*_FILENO instead of hard-coded integers
  minor, refactor diff'ing procedure to aid later splicing
  Revert "minor, also monitor stderr"
  test, adapt tests so they may actually work
  minor, also monitor stderr
  minor, also check for output that is there but isn't meant to be there
  minor, propagate return codes properly
  minor, adapt input buffer to size suggested in the out component of the test file
  chore, remove debugging output
  fix, PEBKAC, include \n in both the command sent to /bin/sh as well as the expected output
  minor, use a steady connection to /bin/sh to run test commands
  minor, provide a tokeniser for clit scripts
  ...