mletterle (owner)

Revisions

gist: 37363 Download_button fork
public
Public Clone URL: git://gist.github.com/37363.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
.................................................EEEEEEEEEEEEEEEEEEEEEEEEE..............................................E...........................................................................................................................................................................................................................................................................F.........F......................F.........................................................................................................................................................................................................................................................................................................................................................................F...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................EEEE....................................................................................................................................................................................EEE..............................................................................................................................................................................................................................................................................................................................................................................................................
 
1)
An exception occurred during: before :each
ARGF.close closes the current file and read the next one ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7be7938>
./1.8/core/argf/close_spec.rb:5
./1.8/core/argf/close_spec.rb:1:in `all?'
./1.8/core/argf/close_spec.rb:3
 
2)
An exception occurred during: before :each
ARGF.close reads one line from the first file, closes it and read the next one ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7be7938>
./1.8/core/argf/close_spec.rb:5
./1.8/core/argf/close_spec.rb:5:in `all?'
./1.8/core/argf/close_spec.rb:3
 
3)
An exception occurred during: before :each
ARGF.closed? returns true if the file is closed ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bc8c7c>
./1.8/core/argf/closed_spec.rb:5
./1.8/core/argf/closed_spec.rb:1:in `all?'
./1.8/core/argf/closed_spec.rb:3
 
4)
An exception occurred during: before :each
ARGF.each_byte reads each byte of files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bc2160>
./1.8/core/argf/each_byte_spec.rb:5
./1.8/core/argf/each_byte_spec.rb:1:in `all?'
./1.8/core/argf/each_byte_spec.rb:3
 
5)
An exception occurred during: before :each
ARGF.each_line reads each line of files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bbeb00 @method=:each_line>
./1.8/core/argf/shared/each_line.rb:3
./1.8/core/argf/each_line_spec.rb:2:in `all?'
./1.8/core/argf/each_line_spec.rb:4
 
6)
An exception occurred during: before :each
ARGF.each reads each line of files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bbb4b4 @method=:each>
./1.8/core/argf/shared/each_line.rb:3
./1.8/core/argf/each_spec.rb:2:in `all?'
./1.8/core/argf/each_spec.rb:4
 
7)
An exception occurred during: before :each
ARGF.eof returns true when reaching the end of a file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bb8e94 @method=:eof?>
./1.8/core/argf/shared/eof.rb:3
./1.8/core/argf/eof_spec.rb:2:in `all?'
./1.8/core/argf/eof_spec.rb:4
 
8)
An exception occurred during: before :each
ARGF.eof raises IOError when called on a closed stream ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bb8e94 @method=:eof?>
./1.8/core/argf/shared/eof.rb:3
./1.8/core/argf/shared/eof.rb:3:in `all?'
./1.8/core/argf/eof_spec.rb:4
 
9)
An exception occurred during: before :each
ARGF.eof? returns true when reaching the end of a file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bb8e94 @method=:eof?>
./1.8/core/argf/shared/eof.rb:3
./1.8/core/argf/shared/eof.rb:3:in `all?'
./1.8/core/argf/eof_spec.rb:8
 
10)
An exception occurred during: before :each
ARGF.eof? raises IOError when called on a closed stream ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bb8e94 @method=:eof?>
./1.8/core/argf/shared/eof.rb:3
./1.8/core/argf/shared/eof.rb:3:in `all?'
./1.8/core/argf/eof_spec.rb:8
 
11)
An exception occurred during: before :each
ARGF.file returns the current file object on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bb1540>
./1.8/core/argf/file_spec.rb:5
./1.8/core/argf/file_spec.rb:1:in `all?'
./1.8/core/argf/file_spec.rb:3
 
12)
An exception occurred during: before :each
ARGF.filename returns the current file name on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bad828 @method=:filename>
./1.8/core/argf/shared/filename.rb:3
./1.8/core/argf/filename_spec.rb:2:in `all?'
./1.8/core/argf/filename_spec.rb:4
 
13)
An exception occurred during: before :each
ARGF.filename it sets the $FILENAME global variable with the current file name on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7bad828 @method=:filename>
./1.8/core/argf/shared/filename.rb:3
./1.8/core/argf/shared/filename.rb:3:in `all?'
./1.8/core/argf/filename_spec.rb:4
 
14)
An exception occurred during: before :each
ARGF.fileno returns the current file number on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7ba617c @method=:fileno>
./1.8/core/argf/shared/fileno.rb:3
./1.8/core/argf/fileno_spec.rb:2:in `all?'
./1.8/core/argf/fileno_spec.rb:4
 
15)
An exception occurred during: before :each
ARGF.fileno raises an ArgumentError when called on a closed stream ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7ba617c @method=:fileno>
./1.8/core/argf/shared/fileno.rb:3
./1.8/core/argf/shared/fileno.rb:3:in `all?'
./1.8/core/argf/fileno_spec.rb:4
 
16)
An exception occurred during: before :each
ARGF.getc reads each char of files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b9f6d8 @method=:getc>
./1.8/core/argf/shared/getc.rb:3
./1.8/core/argf/getc_spec.rb:2:in `all?'
./1.8/core/argf/getc_spec.rb:4
 
17)
An exception occurred during: before :each
ARGF.getc returns nil when end of stream reached ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b9f6d8 @method=:getc>
./1.8/core/argf/getc_spec.rb:10
./1.8/core/argf/shared/getc.rb:3:in `all?'
./1.8/core/argf/getc_spec.rb:8
 
18)
An exception occurred during: before :each
ARGF.gets reads one line of a file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/gets_spec.rb:2:in `all?'
./1.8/core/argf/gets_spec.rb:4
 
19)
An exception occurred during: before :each
ARGF.gets reads all lines of a file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/gets_spec.rb:4
 
20)
An exception occurred during: before :each
ARGF.gets reads all lines of stdin ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/gets_spec.rb:4
 
21)
An exception occurred during: before :each
ARGF.gets reads all lines of two files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/gets_spec.rb:4
 
22)
An exception occurred during: before :each
ARGF.gets sets $_ global variable with each line read ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/gets_spec.rb:4
 
23)
An exception occurred during: before :each
ARGF.gets modifies the files when in place edit mode is on ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/shared/gets.rb:60
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/gets_spec.rb:8
 
24)
An exception occurred during: before :each
ARGF.gets modifies and backups two files when in place edit mode is on ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/shared/gets.rb:60
./1.8/core/argf/shared/gets.rb:60:in `all?'
./1.8/core/argf/gets_spec.rb:8
 
25)
An exception occurred during: before :each
ARGF.gets returns nil when reaching end of files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b980f4 @method=:gets>
./1.8/core/argf/gets_spec.rb:14
./1.8/core/argf/shared/gets.rb:60:in `all?'
./1.8/core/argf/gets_spec.rb:12
 
26)
An exception occurred during: before :each
ARGF.lineno returns the current line number on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b89068>
./1.8/core/argf/lineno_spec.rb:5
./1.8/core/argf/lineno_spec.rb:1:in `all?'
./1.8/core/argf/lineno_spec.rb:3
 
27)
An exception occurred during: before :each
ARGF.path returns the current file name on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b86818 @method=:path>
./1.8/core/argf/shared/filename.rb:3
./1.8/core/argf/path_spec.rb:2:in `all?'
./1.8/core/argf/path_spec.rb:4
 
28)
An exception occurred during: before :each
ARGF.path it sets the $FILENAME global variable with the current file name on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b86818 @method=:path>
./1.8/core/argf/shared/filename.rb:3
./1.8/core/argf/shared/filename.rb:3:in `all?'
./1.8/core/argf/path_spec.rb:4
 
29)
An exception occurred during: before :each
ARGF.pos gives the correct position for each read operation ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b84c48 @method=:pos>
./1.8/core/argf/shared/pos.rb:3
./1.8/core/argf/pos_spec.rb:2:in `all?'
./1.8/core/argf/pos_spec.rb:4
 
30)
An exception occurred during: before :each
ARGF.pos raises an ArgumentError when called on a closed stream ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b84c48 @method=:pos>
./1.8/core/argf/shared/pos.rb:3
./1.8/core/argf/shared/pos.rb:3:in `all?'
./1.8/core/argf/pos_spec.rb:4
 
31)
An exception occurred during: before :each
ARGF.pos= sets the correct position in files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b84c48 @method=:pos>
./1.8/core/argf/pos_spec.rb:10
./1.8/core/argf/shared/pos.rb:3:in `all?'
./1.8/core/argf/pos_spec.rb:8
 
32)
An exception occurred during: before :each
ARGF.read reads the contents of a file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:1:in `all?'
./1.8/core/argf/read_spec.rb:3
 
33)
An exception occurred during: before :each
ARGF.read treats first nil argument as no length limit ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
34)
An exception occurred during: before :each
ARGF.read treats second nil argument as no output buffer ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
35)
An exception occurred during: before :each
ARGF.read treats second argument as an output buffer ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
36)
An exception occurred during: before :each
ARGF.read reads a number of bytes from the first file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
37)
An exception occurred during: before :each
ARGF.read reads from a single file consecutively ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
38)
An exception occurred during: before :each
ARGF.read reads the contents of two files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
39)
An exception occurred during: before :each
ARGF.read reads the contents of one file and some characters from the second ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
40)
An exception occurred during: before :each
ARGF.read reads across two files consecutively ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
41)
An exception occurred during: before :each
ARGF.read reads the contents of stdin ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
42)
An exception occurred during: before :each
ARGF.read reads a number of bytes from stdin ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
43)
An exception occurred during: before :each
ARGF.read reads the contents of one file and stdin ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
44)
An exception occurred during: before :each
ARGF.read reads the contents of the same file twice ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
45)
An exception occurred during: before :each
ARGF.read reads the contents of a special device file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b763a0>
./1.8/core/argf/read_spec.rb:5
./1.8/core/argf/read_spec.rb:5:in `all?'
./1.8/core/argf/read_spec.rb:3
 
46)
An exception occurred during: before :each
ARGF.getc reads each char of files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b62544 @method=:readchar>
./1.8/core/argf/shared/getc.rb:3
./1.8/core/argf/readchar_spec.rb:2:in `all?'
./1.8/core/argf/readchar_spec.rb:4
 
47)
An exception occurred during: before :each
ARGF.readchar raises EOFError when end of stream reached ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b62544 @method=:readchar>
./1.8/core/argf/readchar_spec.rb:10
./1.8/core/argf/shared/getc.rb:3:in `all?'
./1.8/core/argf/readchar_spec.rb:8
 
48)
An exception occurred during: before :each
ARGF.readline reads one line of a file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/readline_spec.rb:2:in `all?'
./1.8/core/argf/readline_spec.rb:4
 
49)
An exception occurred during: before :each
ARGF.readline reads all lines of a file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/readline_spec.rb:4
 
50)
An exception occurred during: before :each
ARGF.readline reads all lines of stdin ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/readline_spec.rb:4
 
51)
An exception occurred during: before :each
ARGF.readline reads all lines of two files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/readline_spec.rb:4
 
52)
An exception occurred during: before :each
ARGF.readline sets $_ global variable with each line read ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/shared/gets.rb:3
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/readline_spec.rb:4
 
53)
An exception occurred during: before :each
ARGF.readline modifies the files when in place edit mode is on ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/shared/gets.rb:60
./1.8/core/argf/shared/gets.rb:3:in `all?'
./1.8/core/argf/readline_spec.rb:8
 
54)
An exception occurred during: before :each
ARGF.readline modifies and backups two files when in place edit mode is on ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/shared/gets.rb:60
./1.8/core/argf/shared/gets.rb:60:in `all?'
./1.8/core/argf/readline_spec.rb:8
 
55)
An exception occurred during: before :each
ARGF.readline raises an EOFError when reaching end of files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b5f894 @method=:readline>
./1.8/core/argf/readline_spec.rb:14
./1.8/core/argf/shared/gets.rb:60:in `all?'
./1.8/core/argf/readline_spec.rb:12
 
56)
An exception occurred during: before :each
ARGF.readlines reads all lines of all files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b594e4 @method=:readlines>
./1.8/core/argf/shared/readlines.rb:3
./1.8/core/argf/readlines_spec.rb:2:in `all?'
./1.8/core/argf/readlines_spec.rb:4
 
57)
An exception occurred during: before :each
ARGF.readlines returns nil when end of stream reached ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b594e4 @method=:readlines>
./1.8/core/argf/shared/readlines.rb:3
./1.8/core/argf/shared/readlines.rb:3:in `all?'
./1.8/core/argf/readlines_spec.rb:4
 
58)
An exception occurred during: before :each
ARGF.rewind goes back to beginning of current file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b56744>
./1.8/core/argf/rewind_spec.rb:5
./1.8/core/argf/rewind_spec.rb:1:in `all?'
./1.8/core/argf/rewind_spec.rb:3
 
59)
An exception occurred during: before :each
ARGF.rewind raises an ArgumentError when end of stream reached ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b56744>
./1.8/core/argf/rewind_spec.rb:5
./1.8/core/argf/rewind_spec.rb:5:in `all?'
./1.8/core/argf/rewind_spec.rb:3
 
60)
An exception occurred during: before :each
ARGF.seek sets the absolute position relative to beginning of file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b53684>
./1.8/core/argf/seek_spec.rb:5
./1.8/core/argf/seek_spec.rb:1:in `all?'
./1.8/core/argf/seek_spec.rb:3
 
61)
An exception occurred during: before :each
ARGF.seek sets the position relative to current position in file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b53684>
./1.8/core/argf/seek_spec.rb:5
./1.8/core/argf/seek_spec.rb:5:in `all?'
./1.8/core/argf/seek_spec.rb:3
 
62)
An exception occurred during: before :each
ARGF.seek sets the absolute position relative to end of file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b53684>
./1.8/core/argf/seek_spec.rb:5
./1.8/core/argf/seek_spec.rb:5:in `all?'
./1.8/core/argf/seek_spec.rb:3
 
63)
An exception occurred during: before :each
ARGF.seek takes at least one argument (offset) ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b53684>
./1.8/core/argf/seek_spec.rb:5
./1.8/core/argf/seek_spec.rb:5:in `all?'
./1.8/core/argf/seek_spec.rb:3
 
64)
An exception occurred during: before :each
ARGF.skip skips the current file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b4ea94>
./1.8/core/argf/skip_spec.rb:5
./1.8/core/argf/skip_spec.rb:1:in `all?'
./1.8/core/argf/skip_spec.rb:3
 
65)
An exception occurred during: before :each
ARGF.skip has no effect when called twice in a row ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b4ea94>
./1.8/core/argf/skip_spec.rb:5
./1.8/core/argf/skip_spec.rb:5:in `all?'
./1.8/core/argf/skip_spec.rb:3
 
66)
An exception occurred during: before :each
ARGF.skip has no effect at end of stream ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b4ea94>
./1.8/core/argf/skip_spec.rb:5
./1.8/core/argf/skip_spec.rb:5:in `all?'
./1.8/core/argf/skip_spec.rb:3
 
67)
An exception occurred during: before :each
ARGF.tell gives the correct position for each read operation ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b4b704 @method=:tell>
./1.8/core/argf/shared/pos.rb:3
./1.8/core/argf/tell_spec.rb:2:in `all?'
./1.8/core/argf/tell_spec.rb:4
 
68)
An exception occurred during: before :each
ARGF.tell raises an ArgumentError when called on a closed stream ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b4b704 @method=:tell>
./1.8/core/argf/shared/pos.rb:3
./1.8/core/argf/shared/pos.rb:3:in `all?'
./1.8/core/argf/tell_spec.rb:4
 
69)
An exception occurred during: before :each
ARGF.to_a reads all lines of all files ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b49b98 @method=:to_a>
./1.8/core/argf/shared/readlines.rb:3
./1.8/core/argf/to_a_spec.rb:2:in `all?'
./1.8/core/argf/to_a_spec.rb:4
 
70)
An exception occurred during: before :each
ARGF.to_a returns nil when end of stream reached ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b49b98 @method=:to_a>
./1.8/core/argf/shared/readlines.rb:3
./1.8/core/argf/shared/readlines.rb:3:in `all?'
./1.8/core/argf/to_a_spec.rb:4
 
71)
An exception occurred during: before :each
ARGF.to_i returns the current file number on each file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b47e74 @method=:to_i>
./1.8/core/argf/shared/fileno.rb:3
./1.8/core/argf/to_i_spec.rb:2:in `all?'
./1.8/core/argf/to_i_spec.rb:4
 
72)
An exception occurred during: before :each
ARGF.to_i raises an ArgumentError when called on a closed stream ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b47e74 @method=:to_i>
./1.8/core/argf/shared/fileno.rb:3
./1.8/core/argf/shared/fileno.rb:3:in `all?'
./1.8/core/argf/to_i_spec.rb:4
 
73)
An exception occurred during: before :each
ARGF.to_io returns the IO of the current file ERROR
NoMethodError: undefined method `fixture' for #<Object:0xb7b462a4>
./1.8/core/argf/to_io_spec.rb:5
./1.8/core/argf/to_io_spec.rb:1:in `all?'
./1.8/core/argf/to_io_spec.rb:3
 
74)
Array#pack returns a tainted string when the format is tainted FAILED
Expected false to be true
./1.8/core/array/pack_spec.rb:72
./1.8/core/array/pack_spec.rb:40:in `all?'
./1.8/core/array/pack_spec.rb:26
 
75)
Array#pack returns a tainted string when the format is tainted even if the given format is empty FAILED
Expected false to be true
./1.8/core/array/pack_spec.rb:76
./1.8/core/array/pack_spec.rb:26
 
76)
Array#pack with format 'H' fills low-nibble of the last byte with 0 when count is odd even if pack argument has insufficient length FAILED
Expected "A@\000"
 to equal "A@"
 
./1.8/core/array/pack_spec.rb:444
./1.8/core/array/pack_spec.rb:403:in `all?'
./1.8/core/array/pack_spec.rb:415
 
77)
Array#pack with format 'h' fills high-nibble of the last byte with 0 when count is odd even if pack argument has insufficient length FAILED
Expected "A\002\000"
 to equal "A\002"
 
./1.8/core/array/pack_spec.rb:516
./1.8/core/array/pack_spec.rb:487
 
78)
Array#pack with format 'M' ignores star parameter FAILED
Expected "XXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\nXXXXX=\n"
to equal "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=\nXXXX=\n"
 
./1.8/core/array/pack_spec.rb:1991
./1.8/core/array/pack_spec.rb:1885
 
79)
Array#pack with format 'm' ignores star parameter FAILED
Expected "QUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\nQUJD\n"
to equal "QUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\nQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJDQUJD\n"
 
./1.8/core/array/pack_spec.rb:2076
./1.8/core/array/pack_spec.rb:2009
 
80)
Array#pack with format 'U' regards a integer as a Unicode codepoint and encodes into UTF-8 byte sequence FAILED
Expected "\000\001\002\003\004\005\006\a\b\t\n\v\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\e\034\035\036\037 !\"\#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\177"
to equal "\000\001\002\003\004\005\006\a\b\t\n\v\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\e\034\035\036\037 !\"\#$%&'()*+,-./0123456789"
 
./1.8/core/array/pack_spec.rb:2139
./1.8/core/array/pack_spec.rb:2122:in `all?'
./1.8/core/array/pack_spec.rb:2132
 
81)
Array#pack with format 'P' ignores '*' parameter ERROR
ArgumentError: too short buffer for P(3 for 4)
./1.8/core/array/pack_spec.rb:2623:in `pack'
./1.8/core/array/pack_spec.rb:2623
./1.8/core/array/pack_spec.rb:2611:in `all?'
./1.8/core/array/pack_spec.rb:2580
 
82)
File::Stat#zero? zero? returns false for a directory FAILED
Expected #<Proc:0xb7310c9c@./1.8/core/file/stat/../../../shared/file/zero.rb:56>
to equal false
 
./1.8/core/file/stat/../../../shared/file/zero.rb:56
./1.8/core/file/stat/fixtures/classes.rb:3:in `all?'
./1.8/core/file/stat/zero_spec.rb:5
 
83)
File.zero? zero? returns false for a directory FAILED
Expected #<Proc:0xb7295b50@./1.8/core/file/../../shared/file/zero.rb:56>
to equal false
 
./1.8/core/file/../../shared/file/zero.rb:56
./1.8/core/file/../../shared/file/zero.rb:42:in `all?'
./1.8/core/file/zero_spec.rb:4
 
84)
FileTest.zero? zero? returns false for a directory FAILED
Expected #<Proc:0xb720c74c@./1.8/core/filetest/../../shared/file/zero.rb:56>
to equal false
 
./1.8/core/filetest/../../shared/file/zero.rb:56
./1.8/core/filetest/../../shared/file/zero.rb:42:in `all?'
./1.8/core/filetest/zero_spec.rb:4
 
85)
Module#autoload autoloaded constants are removed on the first access FAILED
Expected NameError but no exception was raised
./1.8/core/module/autoload_spec.rb:186
./1.8/core/module/fixtures/classes.rb:322:in `protect_loaded_features'
./1.8/core/module/autoload_spec.rb:180
./1.8/core/module/autoload_spec.rb:171:in `all?'
./1.8/core/module/autoload_spec.rb:6
 
86)
An exception occurred during: loading 1.8/library/openssl/hmac/digest_spec.rb ERROR
LoadError: no such file to load -- openssl
./1.8/library/openssl/hmac/digest_spec.rb:3:in `require'
./1.8/library/openssl/hmac/digest_spec.rb:3
 
87)
An exception occurred during: loading 1.8/library/openssl/hmac/hexdigest_spec.rb ERROR
LoadError: no such file to load -- openssl
./1.8/library/openssl/hmac/hexdigest_spec.rb:3:in `require'
./1.8/library/openssl/hmac/hexdigest_spec.rb:3
 
88)
An exception occurred during: loading 1.8/library/openssl/random/pseudo_bytes_spec.rb ERROR
LoadError: no such file to load -- openssl
./1.8/library/openssl/random/shared/random_bytes.rb:2:in `require'
./1.8/library/openssl/random/shared/random_bytes.rb:2
./1.8/library/openssl/random/pseudo_bytes_spec.rb:2:in `require'
./1.8/library/openssl/random/pseudo_bytes_spec.rb:2
 
89)
An exception occurred during: loading 1.8/library/openssl/random/random_bytes_spec.rb ERROR
LoadError: no such file to load -- openssl
./1.8/library/openssl/random/shared/random_bytes.rb:2:in `require'
./1.8/library/openssl/random/shared/random_bytes.rb:2
./1.8/library/openssl/random/random_bytes_spec.rb:2:in `require'
./1.8/library/openssl/random/random_bytes_spec.rb:2
 
90)
SecureRandom.base64 generates a random base64 string out of specified number of random bytes ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:105:in `base64'
./1.8/library/securerandom/base64_spec.rb:14
./1.8/library/securerandom/base64_spec.rb:4:in `all?'
./1.8/library/securerandom/base64_spec.rb:6
./1.8/library/securerandom/base64_spec.rb:3
 
91)
SecureRandom.base64 tries to convert the passed argument to an Integer using #to_int ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:105:in `base64'
./1.8/library/securerandom/base64_spec.rb:53
/usr/lib/ruby/1.8/securerandom.rb:67:in `all?'
./1.8/library/securerandom/base64_spec.rb:6
./1.8/library/securerandom/base64_spec.rb:3
 
92)
SecureRandom.base64 checks whether the passed argument responds to #to_int ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:105:in `base64'
./1.8/library/securerandom/base64_spec.rb:60
/usr/lib/ruby/1.8/securerandom.rb:69:in `all?'
./1.8/library/securerandom/base64_spec.rb:6
./1.8/library/securerandom/base64_spec.rb:3
 
93)
SecureRandom.hex generates a random hex string of length twice the specified argement ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:91:in `hex'
./1.8/library/securerandom/hex_spec.rb:14
./1.8/library/securerandom/hex_spec.rb:4:in `all?'
./1.8/library/securerandom/hex_spec.rb:6
./1.8/library/securerandom/hex_spec.rb:3
 
94)
SecureRandom.hex tries to convert the passed argument to an Integer using #to_int ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:91:in `hex'
./1.8/library/securerandom/hex_spec.rb:53
/usr/lib/ruby/1.8/securerandom.rb:67:in `all?'
./1.8/library/securerandom/hex_spec.rb:6
./1.8/library/securerandom/hex_spec.rb:3
 
95)
SecureRandom.hex checks whether the passed argument responds to #to_int ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:91:in `hex'
./1.8/library/securerandom/hex_spec.rb:60
/usr/lib/ruby/1.8/securerandom.rb:69:in `all?'
./1.8/library/securerandom/hex_spec.rb:6
./1.8/library/securerandom/hex_spec.rb:3
 
96)
SecureRandom.random_bytes generates a random binary string of specified length ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
./1.8/library/securerandom/random_bytes_spec.rb:26
/usr/lib/ruby/1.8/securerandom.rb:52:in `all?'
./1.8/library/securerandom/random_bytes_spec.rb:6
./1.8/library/securerandom/random_bytes_spec.rb:3
 
97)
SecureRandom.random_bytes tries to convert the passed argument to an Integer using #to_int ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
./1.8/library/securerandom/random_bytes_spec.rb:49
/usr/lib/ruby/1.8/securerandom.rb:67:in `all?'
./1.8/library/securerandom/random_bytes_spec.rb:6
./1.8/library/securerandom/random_bytes_spec.rb:3
 
98)
SecureRandom.random_bytes checks whether the passed argument responds to #to_int ERROR
NotImplementedError: Unexpected partial read from random device
/usr/lib/ruby/1.8/securerandom.rb:69:in `random_bytes'
/usr/lib/ruby/1.8/securerandom.rb:62:in `open'
/usr/lib/ruby/1.8/securerandom.rb:62:in `random_bytes'
./1.8/library/securerandom/random_bytes_spec.rb:56
/usr/lib/ruby/1.8/securerandom.rb:69:in `all?'
./1.8/library/securerandom/random_bytes_spec.rb:6
./1.8/library/securerandom/random_bytes_spec.rb:3
 
Finished in 243.543151 seconds
 
2492 files, 9926 examples, 33592 expectations, 11 failures, 87 errors
 
 
uname -a: Linux vm-ubuntu 2.6.28-2-generic #3-Ubuntu SMP Thu Dec 4 21:49:06 UTC 2008 i686 GNU/Linux