aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/testsuite/testsuite.go
AgeCommit message (Collapse)Author
2 daysinternal/testsuite: optional insecure argumentOphestra
This allows testing insecure configurations. This change also improves error reporting and fixes non-startup-notification behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
4 daysinternal/testsuite: optional verbose outputOphestra
Used by some tests to inspect cmd/hakurei internals. Signed-off-by: Ophestra <cat@gensokyo.uk>
4 daysinternal/testsuite: optional startup notificationOphestra
This is only really used by the sandbox test suite for seccomp validation. Make it optional here to simplify other use cases. Signed-off-by: Ophestra <cat@gensokyo.uk>
4 daysinternal/testsuite: disconnect script from stdinOphestra
The util-linux script program really messes up any terminal attached to stdin. Since the test programs do not take any input, and stdin is a shared resource that cannot be used anyway, this change disconnects it from stdin. Signed-off-by: Ophestra <cat@gensokyo.uk>
4 daysinternal/testsuite: silence session servicesOphestra
These are too noisy and are not useful outside of debugging the test suite itself, so silence them by default. Signed-off-by: Ophestra <cat@gensokyo.uk>
4 daysinternal/testsuite: move helpers from cmd/hakureiOphestra
These helpers are useful across multiple test suites. Signed-off-by: Ophestra <cat@gensokyo.uk>
6 dayscmd/hakurei/testsuite: extra exercise parametersOphestra
This also removes the interval and fixes the mustStart search criteria. Signed-off-by: Ophestra <cat@gensokyo.uk>
12 daysinternal/testsuite: add additional environmentOphestra
This improves compatibility. This change also improves error messages. Signed-off-by: Ophestra <cat@gensokyo.uk>
12 daysinternal/testsuite: move from testOphestra
This structure is a lot less clumsy than the old nix-centric layout. Signed-off-by: Ophestra <cat@gensokyo.uk>