Skip to content

Commit 403996e

Browse files
authored
fix: update tests/ to test/ to match renamed directory in crowdsec repo (#1019)
1 parent 94be86a commit 403996e

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

crowdsec-docs/docs/configuration/feature_flags.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ In the following example, we deprecated `cscli_setup` and retired `papi`, then w
6363
and the error.
6464

6565
```console
66-
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./tests/local/bin/cscli version
66+
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./test/local/bin/cscli version
6767
ERRO[02-03-2023 15:55:45] Ignored envvar 'CROWDSEC_FEATURE_PAPI_CLIENT': the flag is retired.
6868
WARN[02-03-2023 15:55:45] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is deprecated.
6969
2023/03/02 15:55:45 version: v1.5.0-rc1-13-ge729bf5d-e729bf5d6103894da28818ab4626bab918fbd09d
@@ -76,7 +76,7 @@ WARN[02-03-2023 15:55:45] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is dep
7676
Retired flags don't appear in `cscli config feature-flags` unless you use the `--retired` option:
7777

7878
```console
79-
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./tests/local/bin/cscli config feature-flags --retired
79+
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./test/local/bin/cscli config feature-flags --retired
8080
ERRO[02-03-2023 15:58:38] Ignored envvar 'CROWDSEC_FEATURE_PAPI_CLIENT': the flag is retired.
8181
WARN[02-03-2023 15:58:38] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is deprecated.
8282
--- Enabled features ---
@@ -91,7 +91,7 @@ WARN[02-03-2023 15:58:38] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is dep
9191
9292
To enable a feature you can:
9393
- set the environment variable CROWDSEC_FEATURE_<uppercase_feature_name> to true
94-
- add the line '- <feature_name>' to the file /home/marco/src/crowdsec/tests/local/etc/crowdsec/feature.yaml
94+
- add the line '- <feature_name>' to the file /home/marco/src/crowdsec/test/local/etc/crowdsec/feature.yaml
9595
9696
--- Retired features ---
9797

crowdsec-docs/docs/contributing/code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If you have installed docker-compose and have access to Docker via `/var/run/doc
2424

2525
### Bats tests
2626

27-
These are documented in [tests/README.md](https://github.com/crowdsecurity/crowdsec/blob/master/tests/README.md).
27+
These are documented in [test/README.md](https://github.com/crowdsecurity/crowdsec/blob/master/test/README.md).
2828
They are easier to write than the Go tests, but can only test
2929
each binary's external behavior. Run with `make bats-all`.
3030

crowdsec-docs/versioned_docs/version-v1.6/configuration/feature_flags.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ In the following example, we deprecated `cscli_setup` and retired `papi`, then w
6363
and the error.
6464

6565
```console
66-
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./tests/local/bin/cscli version
66+
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./test/local/bin/cscli version
6767
ERRO[02-03-2023 15:55:45] Ignored envvar 'CROWDSEC_FEATURE_PAPI_CLIENT': the flag is retired.
6868
WARN[02-03-2023 15:55:45] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is deprecated.
6969
2023/03/02 15:55:45 version: v1.5.0-rc1-13-ge729bf5d-e729bf5d6103894da28818ab4626bab918fbd09d
@@ -76,7 +76,7 @@ WARN[02-03-2023 15:55:45] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is dep
7676
Retired flags don't appear in `cscli config feature-flags` unless you use the `--retired` option:
7777

7878
```console
79-
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./tests/local/bin/cscli config feature-flags --retired
79+
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./test/local/bin/cscli config feature-flags --retired
8080
ERRO[02-03-2023 15:58:38] Ignored envvar 'CROWDSEC_FEATURE_PAPI_CLIENT': the flag is retired.
8181
WARN[02-03-2023 15:58:38] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is deprecated.
8282
--- Enabled features ---
@@ -91,7 +91,7 @@ WARN[02-03-2023 15:58:38] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is dep
9191
9292
To enable a feature you can:
9393
- set the environment variable CROWDSEC_FEATURE_<uppercase_feature_name> to true
94-
- add the line '- <feature_name>' to the file /home/marco/src/crowdsec/tests/local/etc/crowdsec/feature.yaml
94+
- add the line '- <feature_name>' to the file /home/marco/src/crowdsec/test/local/etc/crowdsec/feature.yaml
9595
9696
--- Retired features ---
9797

crowdsec-docs/versioned_docs/version-v1.6/contributing/code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If you have installed docker-compose and have access to Docker via `/var/run/doc
2424

2525
### Bats tests
2626

27-
These are documented in [tests/README.md](https://github.com/crowdsecurity/crowdsec/blob/master/tests/README.md).
27+
These are documented in [test/README.md](https://github.com/crowdsecurity/crowdsec/blob/master/test/README.md).
2828
They are easier to write than the Go tests, but can only test
2929
each binary's external behavior. Run with `make bats-all`.
3030

crowdsec-docs/versioned_docs/version-v1.7/configuration/feature_flags.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ In the following example, we deprecated `cscli_setup` and retired `papi`, then w
6363
and the error.
6464

6565
```console
66-
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./tests/local/bin/cscli version
66+
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./test/local/bin/cscli version
6767
ERRO[02-03-2023 15:55:45] Ignored envvar 'CROWDSEC_FEATURE_PAPI_CLIENT': the flag is retired.
6868
WARN[02-03-2023 15:55:45] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is deprecated.
6969
2023/03/02 15:55:45 version: v1.5.0-rc1-13-ge729bf5d-e729bf5d6103894da28818ab4626bab918fbd09d
@@ -76,7 +76,7 @@ WARN[02-03-2023 15:55:45] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is dep
7676
Retired flags don't appear in `cscli config feature-flags` unless you use the `--retired` option:
7777

7878
```console
79-
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./tests/local/bin/cscli config feature-flags --retired
79+
$ CROWDSEC_FEATURE_PAPI_CLIENT=true CROWDSEC_FEATURE_CSCLI_SETUP=true ./test/local/bin/cscli config feature-flags --retired
8080
ERRO[02-03-2023 15:58:38] Ignored envvar 'CROWDSEC_FEATURE_PAPI_CLIENT': the flag is retired.
8181
WARN[02-03-2023 15:58:38] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is deprecated.
8282
--- Enabled features ---
@@ -91,7 +91,7 @@ WARN[02-03-2023 15:58:38] Envvar 'CROWDSEC_FEATURE_CSCLI_SETUP': the flag is dep
9191
9292
To enable a feature you can:
9393
- set the environment variable CROWDSEC_FEATURE_<uppercase_feature_name> to true
94-
- add the line '- <feature_name>' to the file /home/marco/src/crowdsec/tests/local/etc/crowdsec/feature.yaml
94+
- add the line '- <feature_name>' to the file /home/marco/src/crowdsec/test/local/etc/crowdsec/feature.yaml
9595
9696
--- Retired features ---
9797

crowdsec-docs/versioned_docs/version-v1.7/contributing/code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If you have installed docker-compose and have access to Docker via `/var/run/doc
2424

2525
### Bats tests
2626

27-
These are documented in [tests/README.md](https://github.com/crowdsecurity/crowdsec/blob/master/tests/README.md).
27+
These are documented in [test/README.md](https://github.com/crowdsecurity/crowdsec/blob/master/test/README.md).
2828
They are easier to write than the Go tests, but can only test
2929
each binary's external behavior. Run with `make bats-all`.
3030

0 commit comments

Comments
 (0)