[Python-Dev] Running tests on freebsd5

Till Plewe till@score.is.tsukuba.ac.jp
Mon, 30 Jun 2003 11:12:41 +0900


On Sun, Jun 29, 2003 at 02:01:07PM +0200, PieterB wrote:
> Hi,
> 
> I just checked out the Python CVS head, ran configure and compiled
> succesfully on FreeBSD 5.0. I then ran 'make tests', and had two
> failing tests. I don't think these errors are related to FreeBSD5.0,
> so I post them here. 

Unfortunately, at least one of them is:

$man socket says

"...
The types SOCK_RAW, which is available only to the super-user, and
SOCK_RDM, which is planned, but not yet implemented, are not described
here.
..."

> When running test_socket.py, I get the following traceback:
> Ran 51 tests in 2.470s
> 
...
>   File "test_socket.py", line 215, in testCrucialConstants
>     socket.SOCK_RDM
> AttributeError: 'module' object has no attribute 'SOCK_RDM'
> 

- Till