Commit graph

16 commits

Author SHA1 Message Date
mmetc af8c55330d
[wip] bats changes for modular fixtures (#1371)
* target: tests/.environment.sh
* don't pass BIN_DIR around
* manage db backup/restore separately
* don't export CONFIG_DIR, DATA_DIR (derive path locations from
CONFIG_YAML); redirect stdout, stderr to &3 by default in setup_file,
teardown_file
2022-03-18 10:13:12 +01:00
mmetc f7f4ca9541
use yq instead of envsubst (#1366) 2022-03-17 12:28:45 +01:00
mmetc 9a6a254a90
test decision list -m (#1365) 2022-03-17 12:20:08 +01:00
mmetc 81793fe8bf
dummy plugin (#1342) 2022-03-16 09:30:04 +01:00
Thibault "bui" Koechlin 548b0b5518
bit of doc + tests for lapi stream mode (#1356)
* bit of doc + tests for lapi stream mode
2022-03-15 17:16:33 +01:00
mmetc b09339ae91
bats: check for yq version (#1355) 2022-03-15 15:03:56 +01:00
mmetc 6d42a8c8be
deduplicate make package, package_static (#1344) 2022-03-15 11:19:35 +01:00
mmetc b050d27e20
bats changes to allow bouncer testing (#1345) 2022-03-15 10:40:01 +01:00
mmetc b6aca81ebd
allow "cscli completion..." without configuration file (#1340) 2022-03-10 14:57:14 +01:00
mmetc 8120fe7d5d
fix for /usr/bin/wc on freebsd (#1338)
* fix for /usr/bin/wc on freebsd
* check for python3 in bats-test
2022-03-10 13:59:10 +01:00
mmetc aca37a38e7
return 1 with incomplete command line; always check error when calling cmd.Help (#1335) 2022-03-10 13:55:25 +01:00
mmetc 0c35263c29
fix bats-test for freebsd (#1333) 2022-03-10 12:19:02 +01:00
mmetc 7c0593c659
noop code removal, typos and lint fixes (#1329) 2022-03-09 16:15:18 +01:00
mmetc 59ad91a8ca
functional tests with bats-core (#1266) 2022-03-09 14:45:36 +01:00
Thibault "bui" Koechlin 5446857377
Add crowdsec reload + cscli metrics minor improvements (#79) 2020-06-19 13:57:44 +02:00
Thibault bui Koechlin 2016167654 initial import 2020-05-15 11:39:16 +02:00