[kaffe] [patch] fixing a test case failure on solaris
Dalibor Topic
robilad@yahoo.com
Wed, 3 Jul 2002 02:08:14 -0700 (PDT)
--0-381991208-1025687294=:10675
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
the attached patch fixes a failing test case
(FileChecks.java) on solaris. The problem is that the
test expects the exact wording of the error message,
which is slightly different on solaris. I assume that
the error message comes from the operating system,
thus the difference.
cheers,
dalibor topic
* test/regression/FileChecks.java:
relaxed test case to check for the exception,
instead of exact exception message text.
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--0-381991208-1025687294=:10675
Content-Type: application/octet-stream; name="filechecks.diff"
Content-Transfer-Encoding: base64
Content-Description: filechecks.diff
Content-Disposition: attachment; filename="filechecks.diff"
LS0tIC4uLy4uL2thZmZlL3Rlc3QvcmVncmVzc2lvbi9GaWxlQ2hlY2tzLmph
dmEJMjAwMi0wNi0yMCAyMTo1NzoyNy4wMDAwMDAwMDAgKzAyMDAKKysrIHRl
c3QvcmVncmVzc2lvbi9GaWxlQ2hlY2tzLmphdmEJMjAwMi0wNy0wMiAxMzo0
MTozMS4wNzY1MTQwMDAgKzAyMDAKQEAgLTE1LDcgKzE1LDcgQEAKIAkJfQog
CQljYXRjaCAoRmlsZU5vdEZvdW5kRXhjZXB0aW9uIGUpCiAJCXsKLQkJCVN5
c3RlbS5vdXQucHJpbnRsbigiMSBTdWNjZXNzIGdvdDogIiArZSk7CisJCQlT
eXN0ZW0ub3V0LnByaW50bG4oIjEgU3VjY2Vzcy4iKTsKIAkJfQogCiAJCXRy
eQpAQCAtMjcsNyArMjcsNyBAQAogCQl9CiAJCWNhdGNoIChGaWxlTm90Rm91
bmRFeGNlcHRpb24gZSkKIAkJewotCQkJU3lzdGVtLm91dC5wcmludGxuKCIy
IFN1Y2Nlc3MgZ290OiAiICtlKTsKKwkJCVN5c3RlbS5vdXQucHJpbnRsbigi
MiBTdWNjZXNzLiIpOwogCQl9CiA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