Test cases broken?

Anders F Björklund afb at algonet.se
Mon Aug 18 11:48:00 PDT 2008


> First I suspected different RPM versions, but it seems to affect  
> DEB too ?

Seems like both "os.walk" and "os.stat" are rather OS-dependent, which
would explain differences in dir listing order and type of file size...

Either way, explicitly sorting and casting seems like the "safe path".
To make the test cases test the right thing and not OS quirks, that is.

--anders




More information about the Smart mailing list