fortify/helper
Ophestra Umiker c201c30c7f
helper/bwrap: check args only for internal tests
Tests internal to the helper package sets crash-test-dummy as the command whenever a launch is expected to go through, and the hardcoded args are only valid for internal tests, so this characteristic is used here to exclude external tests that pass real program names and custom bwrap configurations.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-10-09 00:21:31 +09:00
..
bwrap helper: move bwrap into helper 2024-10-07 14:40:35 +09:00
args.go helper/args: MustNewCheckedArgs for cleaner hardcoded args 2024-10-07 13:33:18 +09:00
args_test.go helper: generalise helper.Helper test 2024-10-08 14:02:54 +09:00
bwrap.go helper: implementation of helper.Helper using bwrap 2024-10-08 18:02:38 +09:00
bwrap_test.go helper: implementation of helper.Helper using bwrap 2024-10-08 18:02:38 +09:00
direct.go helper: move test sample data out of direct 2024-10-07 22:51:08 +09:00
direct_test.go helper: generalise helper.Helper test 2024-10-08 14:02:54 +09:00
helper.go helper: helper.Helper interface 2024-10-07 15:37:52 +09:00
helper_test.go helper: implementation of helper.Helper using bwrap 2024-10-08 18:02:38 +09:00
pipe.go helper: separate pipes from Helper 2024-10-07 12:48:20 +09:00
pipe_test.go helper/args: MustNewCheckedArgs for cleaner hardcoded args 2024-10-07 13:33:18 +09:00
stub.go helper/bwrap: check args only for internal tests 2024-10-09 00:21:31 +09:00
stub_test.go helper: export internal stub functions for cross-package testing 2024-09-29 15:22:35 +09:00