summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2004-08-18 15:13:41 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2004-08-18 15:13:41 (GMT)
commitf64700a512e89c322f46f3cabda3bf58573eda54 (patch)
tree17fcf28d7178609521bf7f9f562d8d7f8f296608 /Lib/test
parent75b9da4aaf6b1636a116f4afd5b0d11a642c4401 (diff)
downloadcpython-f64700a512e89c322f46f3cabda3bf58573eda54.zip
cpython-f64700a512e89c322f46f3cabda3bf58573eda54.tar.gz
cpython-f64700a512e89c322f46f3cabda3bf58573eda54.tar.bz2
Add support for FreeBSD 6.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py5
-rwxr-xr-xLib/test/test_fcntl.py2
-rw-r--r--Lib/test/test_socket.py2
3 files changed, 7 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 7e83775..67456a3 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1036,21 +1036,25 @@ _expectations = {
test_bsddb3
test_cd
test_cl
+ test_gdbm
test_gl
test_imgfile
test_linuxaudiodev
test_locale
test_macfs
test_macostools
+ test_mpz
test_nis
test_normalization
test_ossaudiodev
test_pep277
test_plistlib
+ test_pty
test_scriptpackages
test_socket_ssl
test_socketserver
test_sunaudiodev
+ test_tcl
test_timeout
test_unicode_file
test_urllibnet
@@ -1059,6 +1063,7 @@ _expectations = {
""",
}
_expectations['freebsd5'] = _expectations['freebsd4']
+_expectations['freebsd6'] = _expectations['freebsd4']
class _ExpectedSkips:
def __init__(self):
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index 1dabfa4..dedf367 100755
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -21,7 +21,7 @@ if sys.platform.startswith('atheos'):
start_len = "qq"
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
- 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', 'freebsd6',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2', 'openbsd3'):
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, fcntl.F_WRLCK, 0)
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 4e0e242..8222c0b 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -311,7 +311,7 @@ class GeneralModuleTests(unittest.TestCase):
# Find one service that exists, then check all the related interfaces.
# I've ordered this by protocols that have both a tcp and udp
# protocol, at least for modern Linuxes.
- if sys.platform in ('freebsd4', 'freebsd5', 'darwin'):
+ if sys.platform in ('freebsd4', 'freebsd5', 'freebsd6', 'darwin'):
# avoid the 'echo' service on this platform, as there is an
# assumption breaking non-standard port/protocol entry
services = ('daytime', 'qotd', 'domain')