mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
make sure sed replacements are posix compliant
using \s will not work in some systems, use [[:space]] instead Fixes #5812
This commit is contained in:
parent
4f97021af2
commit
6c06082448
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ shared_examples "logstash update" do |logstash|
|
|||
before do
|
||||
logstash.run_command_in_path("bin/logstash-plugin install --no-verify --version #{previous_version} #{plugin_name}")
|
||||
# Logstash wont update when we have a pinned versionin the gemfile so we remove them
|
||||
logstash.replace_in_gemfile(',\s"0.1.0"', "")
|
||||
logstash.replace_in_gemfile(',[[:space:]]"0.1.0"', "")
|
||||
expect(logstash).to have_installed?(plugin_name, previous_version)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue