summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2005-07-17 02:36:59 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2005-07-17 02:36:59 (GMT)
commit4e422817eb1bc5a6a42365001ad45683ae07e559 (patch)
tree397742596a52cffed221951ada6ba6f8305014f2 /Lib/test
parent149787e7c5c4d9cf5abd1a6bdb3074eae34de1b5 (diff)
downloadcpython-4e422817eb1bc5a6a42365001ad45683ae07e559.zip
cpython-4e422817eb1bc5a6a42365001ad45683ae07e559.tar.gz
cpython-4e422817eb1bc5a6a42365001ad45683ae07e559.tar.bz2
Add support for FreeBSD 7.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py1
-rwxr-xr-xLib/test/test_fcntl.py1
-rw-r--r--Lib/test/test_socket.py2
3 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 4bd3931..2f620a2 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1073,6 +1073,7 @@ _expectations = {
}
_expectations['freebsd5'] = _expectations['freebsd4']
_expectations['freebsd6'] = _expectations['freebsd4']
+_expectations['freebsd7'] = _expectations['freebsd4']
class _ExpectedSkips:
def __init__(self):
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index 2d176ea..46bccc1 100755
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -22,6 +22,7 @@ if sys.platform.startswith('atheos'):
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', 'freebsd6',
+ 'freebsd7',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2', 'openbsd3'):
if struct.calcsize('l') == 8:
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index bf2ecae..31ac892 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -312,7 +312,7 @@ class GeneralModuleTests(unittest.TestCase):
# I've ordered this by protocols that have both a tcp and udp
# protocol, at least for modern Linuxes.
if sys.platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
- 'darwin'):
+ 'freebsd7', 'darwin'):
# avoid the 'echo' service on this platform, as there is an
# assumption breaking non-standard port/protocol entry
services = ('daytime', 'qotd', 'domain')