* 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
8 lines
167 B
Bash
8 lines
167 B
Bash
|
|
# any stdout, stderr from now on will go to &3
|
|
eval "$(debug)"
|
|
|
|
# ensure we don't leave crowdsec running if tests are broken or interrupted
|
|
./instance-crowdsec stop
|
|
|