From: Simon Strandgaard Date: 2004-04-17T23:34:43+09:00 Subject: Re: [1.9-16apr] $0 is messed up On Sun, 18 Apr 2004 00:12:31 +0900, ts wrote: >>>>>> "S" == Simon Strandgaard writes: > server> ruby -v > S> ruby 1.9.0 (2004-04-16) [i386-freebsd5.1] > ^^^^^^^ > ^^^^^^^ [snip] > obsd% ruby -v b.rb > ruby 1.9.0 (2004-04-16) [sparc-openbsd3.4] > "b.rb" > Loaded suite Tester > Started > "b.rb\000test_filename(Tester)" Apparently there is also a problem with print, as indicated by Decoux. Where \0 is interpreted differently on linux, compared to sparc, freebsd. The other problem is that Test::Unit recently has begun showing the test-name via the $0 variable. Which is bad. May I propose to introduce a instance variable '@test_name' for that, instead of touching the $0 global variable. Comments about these 2 issues? -- Simon Strandgaard