✅ Fix TestMkdirErr on Darwin
This commit is contained in:
parent
345ef9471d
commit
da35bf4bcf
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ func (s *AppendTestSuite) TestConfLoadErr() {
|
||||||
|
|
||||||
func (s *AppendTestSuite) TestMkdirErr() {
|
func (s *AppendTestSuite) TestMkdirErr() {
|
||||||
// Don't run this test as root
|
// Don't run this test as root
|
||||||
config.Overrides["input.path"] = "/root/my-logs-test"
|
config.Overrides["input.path"] = "/var/my-logs-test"
|
||||||
defer func(path string) {
|
defer func(path string) {
|
||||||
config.Overrides["input.path"] = path
|
config.Overrides["input.path"] = path
|
||||||
}(s.dir)
|
}(s.dir)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue