test, provide some basic regressions ...

and define how we want our tests to look like.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, start the new c-only tester rtz-test

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, restart C testing umbrella as clitoris

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, set CPPFLAGS of clitoris binary actually

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide a tokeniser for clit scripts

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use a steady connection to /bin/sh to run test commands

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, include \n in both the command sent to /bin/sh as well as the expected output

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, remove debugging output

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, adapt input buffer to size suggested in the out component of the test file

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, propagate return codes properly

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, also check for output that is there but isn't meant to be there

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, also monitor stderr

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, adapt tests so they may actually work

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Revert "minor, also monitor stderr"

This reverts commit 538b8a81b97e428a2a958fd67ceea0c39023fb2c.

stderr is best copied to the test output directly
minor, refactor diff'ing procedure to aid later splicing

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, use STD*_FILENO instead of hard-coded integers

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
trial, see if forkpty() instead of vfork() solves the istty() issue with del_03.tst

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
revert, essentially allow both forkpty() and vfork()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, down the timeout value for unexpected output

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, actually call the binaries from ${builddir} (or --builddir)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>