crowdsec/test/bats
mmetc f4b5bcb865
Refact cwhub: version comparison and branch selection (#2581)
* simplify GetItemByPath
* hub: sort version numbers by semver
* replace golang.org/x/mod/semver with github.com/Masterminds/semver/v3 (would not compare correctly)
* fix nil dereference with tainted items
* update tests for collections, postoverflows
* fix nil deref
* don't fallback to master if hub is not found, improve message
* explicit message for unknown version / tainted collections
2023-11-08 13:21:59 +01:00
..
testdata update functional tests for build pipeline (#2442) 2023-08-25 16:15:28 +02:00
01_crowdsec.bats Refact pkg/cwhub, cscli: hub upgrades (#2568) 2023-10-30 17:23:50 +01:00
01_cscli.bats update functional tests for build pipeline (#2442) 2023-08-25 16:15:28 +02:00
02_nolapi.bats Check cscli preconditions with crowdsec-cli/require package (#2388) 2023-07-27 17:02:20 +02:00
03_noagent.bats Check cscli preconditions with crowdsec-cli/require package (#2388) 2023-07-27 17:02:20 +02:00
04_capi.bats update functional tests for build pipeline (#2442) 2023-08-25 16:15:28 +02:00
04_nocapi.bats Check cscli preconditions with crowdsec-cli/require package (#2388) 2023-07-27 17:02:20 +02:00
05_config_yaml_local.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
07_setup.bats cscli setup: accept stdin; fix proftpd detection test and service unmask (#2496) 2023-09-29 12:58:35 +02:00
08_metrics.bats pkg/csconfig: set prometheus address:port defaults (#2533) 2023-10-17 16:12:41 +02:00
09_console.bats fix "cscli console disable --all"; cleanup "cscli console" command (#2444) 2023-08-29 11:44:23 +02:00
10_bouncers.bats typo fix, uppercase 'API', adjusted log level (#2361) 2023-07-21 23:23:24 +02:00
11_bouncers_tls.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
12_notifications.bats Check cscli preconditions with crowdsec-cli/require package (#2388) 2023-07-27 17:02:20 +02:00
13_capi_whitelists.bats fix issue #2499 - nil dereference while using capi whitelists (#2501) 2023-10-02 11:42:17 +02:00
20_hub.bats make ParserIndex(), DownloadIndex() private methods (#2579) 2023-11-07 10:27:33 +01:00
20_hub_collections.bats Refact cwhub: version comparison and branch selection (#2581) 2023-11-08 13:21:59 +01:00
20_hub_collections_dep.bats Refact pkg/cwhub, cscli: hub upgrades (#2568) 2023-10-30 17:23:50 +01:00
20_hub_items.bats Refact cwhub: version comparison and branch selection (#2581) 2023-11-08 13:21:59 +01:00
20_hub_parsers.bats Refact cwhub (#2578) 2023-11-06 17:35:33 +01:00
20_hub_postoverflows.bats Refact cwhub: version comparison and branch selection (#2581) 2023-11-08 13:21:59 +01:00
20_hub_scenarios.bats Refact cwhub: version comparison and branch selection (#2581) 2023-11-08 13:21:59 +01:00
30_machines.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
30_machines_tls.bats CI: make clean -> remove coverage data (#2259) 2023-06-05 13:03:18 +02:00
40_cold-logs.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
40_live-ban.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
50_simulation.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
70_plugin_http.bats notification-email: configurable timeouts (#2465) 2023-09-29 16:59:06 +02:00
71_plugin_dummy.bats notification-email: configurable timeouts (#2465) 2023-09-29 16:59:06 +02:00
72_plugin_badconfig.bats update functional tests for build pipeline (#2442) 2023-08-25 16:15:28 +02:00
73_plugin_formatting.bats notification-email: configurable timeouts (#2465) 2023-09-29 16:59:06 +02:00
80_alerts.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
81_alert_context.bats update functional tests for build pipeline (#2442) 2023-08-25 16:15:28 +02:00
90_decisions.bats refactor alert/decisions insert/update to avoid database locking in bulk operations (#2446) 2023-09-04 14:21:45 +02:00
97_ipv4_single.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
97_ipv6_single.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
98_ipv4_range.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
98_ipv6_range.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
99_lapi-stream-mode-scenario.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
99_lapi-stream-mode-scopes.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
99_lapi-stream-mode.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
reformat Rename directory "tests" to "test" (#2094) 2023-03-03 15:54:49 +01:00