Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbeat/cmd/instance: ensure test config file has appropriate permiss…
…ions (#27178) Git does not store r/w permissions, instead depending on the host system's umask. On some systems the default umask is 0o002, meaning that the test config file is checked out with g+w permission, causing the test to fail. This change ensures that the test config is owner-exclusive write before running the test. It also adds checks to currently ineffective error assignments. (cherry picked from commit 627b7a8) # Conflicts: # libbeat/cmd/instance/beat_test.go
- Loading branch information