pass the settings file location as required by the new package structure

Fixes #5399

Fixes #5350
This commit is contained in:
Pere Urbon-Bayes 2016-05-31 15:00:31 +02:00
parent 8deab63ab0
commit 605a5b5ed3

View file

@ -14,7 +14,7 @@ shared_examples "logstash version" do |logstash|
context "on #{logstash.hostname}" do
it "returns the right logstash version" do
result = logstash.run_command_in_path("bin/logstash --version")
result = logstash.run_command_in_path("bin/logstash --path.settings=/etc/logstash --version")
expect(result).to run_successfully_and_output(/#{LOGSTASH_VERSION}/)
end
end