It took a few rebuilds but the packages are all successfully built in the PPA, and after installing the PPA to the test lxc container and upgrading, the test case passes:
root@ruby27-hash-iteration:~# cat bug.rb h = {a:1, b:2, c:3, d:4, e:5, f:6, g:7, h:8} h.each{|k,v| GC.start; h.delete(k)} root@ruby27-hash-iteration:~# ruby bug.rb root@ruby27-hash-iteration:~# echo $? 0
It'd be nice to have bug.rb print something to positively indicate success, but the exit code is good enough.
« Back to merge proposal
It took a few rebuilds but the packages are all successfully built in the PPA, and after installing the PPA to the test lxc container and upgrading, the test case passes:
root@ruby27- hash-iteration: ~# cat bug.rb hash-iteration: ~# ruby bug.rb hash-iteration: ~# echo $?
h = {a:1, b:2, c:3, d:4, e:5, f:6, g:7, h:8}
h.each{|k,v| GC.start; h.delete(k)}
root@ruby27-
root@ruby27-
0
It'd be nice to have bug.rb print something to positively indicate success, but the exit code is good enough.