Skip to content

Commit

Permalink
fix tests in 01_crowdsec.bats for packages testing (#3054)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabban authored Jun 5, 2024
1 parent f0f27ee commit 2865b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/bats/01_crowdsec.bats
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ teardown() {
config_set '.crowdsec_service.acquisition_path=""'

ACQUIS_DIR=$(config_get '.crowdsec_service.acquisition_dir')
rm -f "$ACQUIS_DIR"
rm -rf "$ACQUIS_DIR"

config_set '.common.log_media="stdout"'
rune -1 wait-for "$CROWDSEC"
Expand All @@ -167,7 +167,7 @@ teardown() {
config_set '.crowdsec_service.acquisition_path=""'

ACQUIS_DIR=$(config_get '.crowdsec_service.acquisition_dir')
rm -f "$ACQUIS_DIR"
rm -rf "$ACQUIS_DIR"
config_set '.crowdsec_service.acquisition_dir=""'

config_set '.common.log_media="stdout"'
Expand Down

0 comments on commit 2865b69

Please sign in to comment.