[BUG][FIX} Linux 2.8 VM running the Network Unit tests

John M McIntosh johnmci at smalltalkconsulting.com
Tue Jul 18 06:41:49 UTC 2000


on 7/17/00 11:35 PM, Rob Withers at slosher2 at home.com wrote:

> In the last two, it is testing a badAddress/Name and the error code from
> the Plugin is different than the Test is expecting.  The status is a 3,
> which is correct, but the resolverError is a 1 where the test expects
> -23045 or -3162.  I suppose we could look at the Mac plugin and the man
> pages to find out the error codes.  Or we could code an error dictionary
> for each platform (yuk!).  Is anyone working on this?
> 

That correct, it returns an error specific to the platform. Some SUnit work
is required to correctly split out this behavior since errors are platform
specific. As quick but perhaps incorrect fix I had subclassed the base test
and had a subclass specific error code for the basic mac and the mac OT
version. 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================
Custom Macintosh programming & various Smalltalk dialects
PGP Key: DSS/Diff/46FC3BE6
Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
===========================================================================





More information about the Squeak-dev mailing list