Skip to content

Commit c0567b8

Browse files
author
Carlos Rodriguez Lopez
authored
replacing method to add elements to array files
from "<< " to "push"
1 parent 21485c6 commit c0567b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

resources/milestone-5.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@
1212
<builders>
1313
<hudson.tasks.Shell>
1414
<command>#!/bin/bash -e
15-
16-
#!/bin/bash -e
17-
1815
echo "Setting up..."
1916
touch /tmp/1
2017
echo "Running build..."
2118
echo "Open files 1500 times..."
22-
ruby -e 'files = []; for i in 0..1500; files << File.open("/tmp/1"); end'
23-
19+
ruby -e 'files = []; for i in 0..1500; files.push(File.open("/tmp/1")); end'
2420
</command>
2521
</hudson.tasks.Shell>
2622
</builders>

0 commit comments

Comments
 (0)