hardcode tests/local path (#1631)

This commit is contained in:
mmetc 2022-07-01 15:21:28 +02:00 committed by GitHub
parent b1cbf2e2e5
commit 492e0dfeb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,8 +87,9 @@ bats-fixture:
@$(TEST_DIR)/instance-data make
# Remove the local crowdsec installation and the fixture config + data
# Don't remove LOCAL_DIR directly because it could be / or anything else outside the repo
bats-clean:
@$(RM) $(LOCAL_DIR) $(WIN_IGNORE_ERR)
@$(RM) $(TEST_DIR)/local $(WIN_IGNORE_ERR)
@$(RM) $(LOCAL_INIT_DIR) $(WIN_IGNORE_ERR)
@$(RM) $(TEST_DIR)/dyn-bats/*.bats $(WIN_IGNORE_ERR)
@$(RM) tests/.environment.sh $(WIN_IGNORE_ERR)