[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

make test 1.9 fail

From: Ondrej Bilka <neleai@...>
Date: 2006-09-26 11:02:05 UTC
List: ruby-core #8926
Print nil prints now nothing and not 'nil'. So following test fails
not ok system 6 -- ./sample/test.rb:1845
test failed
make: *** [test] Error 1

Index: sample/test.rb
===================================================================
RCS file: /src/ruby/sample/test.rb,v
retrieving revision 1.101
diff -u -r1.101 test.rb
--- sample/test.rb	10 Jul 2006 08:36:43 -0000	1.101
+++ sample/test.rb	26 Sep 2006 10:55:48 -0000
@@ -1838,8 +1842,7 @@
 tmp.print "__END__\n";
 tmp.print "this is a trailing junk\n";
 tmp.close
-
-test_ok(`./miniruby -x script_tmp` == 'nil')
+test_ok(`./miniruby -x script_tmp` == '')
 test_ok(`./miniruby -x script_tmp -zzz=555` == '555')
 
 tmp = open("script_tmp", "w")

In This Thread

Prev Next