Skip to content

Commit

Permalink
Remove OS specific error message check from mockbeat (#4267)
Browse files Browse the repository at this point in the history
The error message “no such file or directory” is an OS specific error message. There is a different error message on Windows. Simply checking for “error loading config file” should be sufficient.
  • Loading branch information
andrewkroh authored and ruflin committed May 10, 2017
1 parent 1cffd0b commit 64556b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libbeat/tests/system/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def test_no_config(self):

assert exit_code == 1
assert self.log_contains("error loading config file") is True
assert self.log_contains("no such file or directory") is True

def test_invalid_config(self):
"""
Expand Down

0 comments on commit 64556b5

Please sign in to comment.