Skip to content

Commit e188490

Browse files
committed
(maint) Clarify comments and link to puppet-master issue
1 parent 66041d8 commit e188490

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

util/binary_search_specs.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,16 @@
1111

1212
while suspects.length > 1 do
1313
count = suspects.length
14-
# Try the first half
1514
specs_to_run = suspects[0...(count/2)]
1615
puts "Trying #{specs_to_run.join(' ')}"
1716
start = Time.now
1817
system("bundle exec rspec #{specs_to_run.join(' ')} #{failing_spec}")
1918
puts "Finished in #{Time.now - start} seconds"
2019
if $? == 0
21-
puts "Innocent!"
22-
# This group is innocent. The culprit is in the other half.
20+
puts "This group is innocent. The culprit is in the other half."
2321
suspects = suspects[(count/2)..-1]
2422
else
25-
puts "Guilty!"
26-
# One of these is guilty.
23+
puts "One of these is guilty."
2724
suspects = specs_to_run
2825
end
2926
end

util/dev-puppet-master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mkdir -p ${dir}
1313
mkdir -p ${dir}/manifests
1414
touch ${dir}/manifests/site.pp
1515

16-
# work around a bug where the master generates a warning when if agent pluginsyncs
16+
# Work around Redmine #21908 where the master generates a warning if agent pluginsyncs
1717
# and there isn't at least one module with a libdir
1818
mkdir -p ${dir}/modules/foo/lib
1919

0 commit comments

Comments
 (0)