Add support for FreeBSD 6.
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 @@
         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['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 @@
     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 @@
         # 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')