Message164953
Actually this is a real test case error. The problem is observed when the system under test is connected to subnet "10.0.x.x". The requested address (10.0.0.0) is then a broadcast address for the subnet. On OS X and (I believe) BSD networking systems, the connect system call checks for this (see man 3 connect) and is documented to fail with:
[EACCES] The destination address is a broadcast address and the
socket option SO_BROADCAST is not set.
When running on a testing Debian Linux 3.2.0 kernel in a VM, the same connect fails with: Errno 113] No route to host, which results in the test being skipped with:
Resource '10.0.0.0' is not available
The test could be changed to pick a (hopefully unused) non-broadcast address or support.transient_internet could add EACCES to its default_errnos, possibly just for BSD/OSX platforms. |
|
Date |
User |
Action |
Args |
2012-07-07 23:20:44 | ned.deily | set | recipients:
+ ned.deily, pitrou, flox |
2012-07-07 23:20:44 | ned.deily | set | messageid: <1341703244.28.0.749547017485.issue15285@psf.upfronthosting.co.za> |
2012-07-07 23:20:42 | ned.deily | link | issue15285 messages |
2012-07-07 23:20:42 | ned.deily | create | |
|