Compare commits

...

10 commits

Author SHA1 Message Date
sabban c7f5af6957 add fc39 2024-01-22 15:39:56 +01:00
sabban 5beed41288 fc39 may require a specific python version 2024-01-22 15:20:52 +01:00
sabban 6508965192 typos 2024-01-19 23:22:47 +01:00
sabban eeb3aade32 typo 2024-01-19 18:13:58 +01:00
sabban 98239eff31 fix for centos9 2024-01-19 18:00:07 +01:00
sabban b0c0b5ee00 typo 2024-01-19 16:30:52 +01:00
sabban cbb6359e10 typo 2024-01-19 16:19:27 +01:00
sabban 2eb513aef9 typo 2024-01-19 15:45:12 +01:00
sabban 89fd883466 try fix 2024-01-19 15:40:13 +01:00
sabban 094d845e11 fix 04_capi.bats to avoid // 2024-01-19 15:02:19 +01:00
5 changed files with 16 additions and 9 deletions

View file

@ -16,6 +16,7 @@
- crowdsecurity.testing.pkg_config
- crowdsecurity.testing.re2
- crowdsecurity.testing.bats_requirements
- crowdsecurity.testing.python
- name: "Install Postgres"
hosts: all

View file

@ -14,7 +14,7 @@ collections:
- name: ansible.posix
- name: https://github.com/crowdsecurity/ansible-collection-crowdsecurity.testing.git
type: git
version: v0.0.5
version: python
# - name: crowdsecurity.testing
# source: ../../../crowdsecurity.testing

View file

@ -0,0 +1,10 @@
# frozen_string_literal: true
Vagrant.configure('2') do |config|
config.vm.box = "fedora/39-cloud-base"
config.vm.provision "shell", inline: <<-SHELL
SHELL
end
common = '../common'
load common if File.exist?(common)

View file

@ -115,13 +115,9 @@ teardown() {
assert_output "&false"
# complex type
rune -0 cscli config show --key Config.PluginConfig
assert_output - <<-EOT
&csconfig.PluginCfg{
User: "nobody",
Group: "nogroup",
}
EOT
rune -0 cscli config show -o json --key Config.PluginConfig
assert_output --partial '"User": "nobody"'
assert_output --regexp '"Group": "(nogroup|nobody)"'
}
@test "cscli - required configuration paths" {

View file

@ -43,7 +43,7 @@ setup() {
config_set 'del(.api.server.online_client)'
rune -1 cscli capi status
assert_stderr --partial "no configuration for Central API (CAPI) in '$CONFIG_YAML'"
assert_stderr --regexp "no configuration for Central API \(CAPI\) in '$(echo $CONFIG_YAML|sed s#//#/#g)'"
}
@test "cscli capi status" {