Fix test not to fail on FreeBSD.  Directories work also as data
files on the platform.
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index 43c2ddd..2d293c9 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -19,6 +19,10 @@
         if sys.platform == 'win32':
             # Exit code for "python .", Error 13: permission denied = 2
             expected_exit_code = 2
+        elif sys.platform.startswith('freebsd'):
+            # On FreeBSD, it more likely raise SyntaxError for binary
+            # directory data.
+            expected_exit_code = 1
         else:
             # Linux has no problem with "python .", Exit code = 0
             expected_exit_code = 0