summaryrefslogtreecommitdiff
path: root/test/soap
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-05 05:42:04 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-05 05:42:04 +0000
commit16658578a55558271c76f305e62f526e6296c8e3 (patch)
tree1c0c636a4dbe03eeab831aa73fff92ca39ff4939 /test/soap
parentd50d6d396ae47d78a9d8d07a754868f35492d7fc (diff)
* lib/xsd/datatypes.rb: Rational -> Decimal string bug fix.
* test/soap/marshal/test_marshal.rb: ditto. * test/soap/calc/test_calc_cgi.rb: add Config::CONFIG["EXEECT"] to RUBYBIN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap')
-rw-r--r--test/soap/calc/test_calc_cgi.rb6
-rw-r--r--test/soap/marshal/test_marshal.rb5
2 files changed, 9 insertions, 2 deletions
diff --git a/test/soap/calc/test_calc_cgi.rb b/test/soap/calc/test_calc_cgi.rb
index 14b0097..6e7bae8 100644
--- a/test/soap/calc/test_calc_cgi.rb
+++ b/test/soap/calc/test_calc_cgi.rb
@@ -11,7 +11,11 @@ module Calc
class TestCalcCGI < Test::Unit::TestCase
# This test shuld be run after installing ruby.
- RUBYBIN = File.join(Config::CONFIG["bindir"], Config::CONFIG["ruby_install_name"])
+ RUBYBIN = File.join(
+ Config::CONFIG["bindir"],
+ Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"]
+ )
+
def setup
logger = Logger.new(STDERR)
logger.level = Logger::Severity::FATAL
diff --git a/test/soap/marshal/test_marshal.rb b/test/soap/marshal/test_marshal.rb
index 87e364e..21776c5 100644
--- a/test/soap/marshal/test_marshal.rb
+++ b/test/soap/marshal/test_marshal.rb
@@ -199,7 +199,10 @@ module MarshalTestLib
class MyTime < Time; def initialize(v, *args) super(*args); @v = v; end end
def test_time
- marshal_equal(Time.now)
+ # once there was a bug caused by usec overflow. try a little harder.
+ 10.times do
+ marshal_equal(Time.now)
+ end
end
def test_time_subclass