(Sorry if this is a duplicate)

I've been working with Rubicon lately, both to drive improvements in
Test::Unit and to figure out how to make Rubicon use Test::Unit
natively, and I've identified a few small things to clean up output
(especially on Win32). I'm not sure if this is the right place to bring
up modifications to Rubicon, but figured I'd try here first. If there's
somewhere else this should be directed, just let me know.

Thanks,


Nathaniel

<:((><
+ - -
| RoleModel Software, Inc.
| EQUIP VI


Index: rubicon.rb
===================================================================
RCS file: /src/rubicon/rubicon.rb,v
retrieving revision 1.40
diff -u -r1.40 rubicon.rb
--- rubicon.rb	28 Sep 2002 04:50:25 -0000	1.40
+++ rubicon.rb	22 Jan 2003 01:57:52 -0000
@@ -49,8 +49,11 @@
       begin
         yield
       rescue RUNIT::AssertionFailedError => err
+        $stderr.puts
+        $stderr.puts
         $stderr.puts "Ignoring known problem: #{err.message}"
         $stderr.puts err.backtrace[0]
+        $stderr.puts
       end
     else
       yield
Index: builtin/TestDir.rb
===================================================================
RCS file: /src/rubicon/builtin/TestDir.rb,v
retrieving revision 1.18
diff -u -r1.18 TestDir.rb
--- builtin/TestDir.rb	7 Oct 2002 08:00:23 -0000	1.18
+++ builtin/TestDir.rb	22 Jan 2003 01:57:53 -0000
@@ -12,7 +12,7 @@
   end
 
   def delete_test_dir
-    MsWin32.only do sys("del _test /s /q") end
+    MsWin32.only do sys("del _test /s /q >nul") end
     MsWin32.dont do sys("rm _test/*") end
   end
 
Index: builtin/TestKernel.rb
===================================================================
RCS file: /src/rubicon/builtin/TestKernel.rb,v
retrieving revision 1.37
diff -u -r1.37 TestKernel.rb
--- builtin/TestKernel.rb	30 Dec 2002 07:57:17 -0000	1.37
+++ builtin/TestKernel.rb	22 Jan 2003 01:57:56 -0000
@@ -530,12 +530,24 @@
   def test_s_BACKTICK
     assert_equal("hello\n", `echo hello`)
     assert_equal(0, $?)
-    assert_equal("", `not_a_valid_command 2>/dev/null`)
+    
+    MsWin32.dont do
+      assert_equal("", `not_a_valid_command 2>/dev/null`)
+    end
+    MsWin32.only do
+      assert_equal("", `not_a_valid_command 2>nul`)
+    end
     assert($? != 0)
 
     assert_equal("hello\n", %x{echo hello})
     assert_equal(0, $?)
-    assert_equal("", %x{not_a_valid_command 2>/dev/null})
+    
+    MsWin32.dont do
+      assert_equal("", %x{not_a_valid_command 2>/dev/null})
+    end
+    MsWin32.only do
+      assert_equal("", %x{not_a_valid_command 2>nul})
+    end
     assert($? != 0)
   end