Closed jaredjadu closed 4 weeks ago
@jaredjadu: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
Hi 👋🏻
Currently dont support MacOS as an operating system, if you want to develop or test on this platform you would need to compile the code from source before attempting to create the test directory.
A simpler way would be to create a test virtual machine on your MacOS using virtual box or other virtual machine software.
I will close this issue as not planned as the description above should inform you why the script does not work as shown in the documentation as the documentation is wrote from a Linux system.
I will link an issue that will add a warning to top of page that states the instruction are wrote for a Linux system.
What happened?
I am following the docs here https://doc.crowdsec.net/docs/contributing/contributing_test_env/ I used version 1.6.3 in the below steps. My OS is macOS 14.2
Basically following the doc linked above , the tests directory does not exist , and its not verified to exist in the script so the script ends up trying to perform actions on the root of the filesystem
What did you expect to happen?
Test environment being setup
How can we reproduce it (as minimally and precisely as possible)?
In a clean directory , run my steps above
Anything else we need to know?
No response
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
Config show
Prometheus metrics
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.