mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
facepalm-oriented bug fix in test runner
This commit fixes an old bug where 'make flatjar-test' (run rspecs from the jar) would run only the first spec file in the args list. Oops.
This commit is contained in:
parent
8fef440b7b
commit
b3e64b5907
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class LogStash::Runner
|
|||
if !File.exists?(arg) && __FILE__ =~ /file:.*\.jar!\//
|
||||
# Try inside the jar.
|
||||
jar_root = __FILE__.gsub(/!.*/,"!")
|
||||
newpath = File.join(jar_root, args.first)
|
||||
newpath = File.join(jar_root, arg)
|
||||
|
||||
# Strip leading 'jar:' path (JRUBY_6970)
|
||||
newpath.gsub!(/^jar:/, "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue