From 58e9df9f5a02530ecdeda59696c7b7855511dbe9 Mon Sep 17 00:00:00 2001 From: Francois Deppierraz Date: Fri, 21 May 2010 07:00:53 -0700 Subject: [PATCH] test_stringutils.py: Add a test class for OpenBSD 4.1 with LANG=C --- src/allmydata/test/test_stringutils.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/allmydata/test/test_stringutils.py b/src/allmydata/test/test_stringutils.py index ebe31687..38841c17 100644 --- a/src/allmydata/test/test_stringutils.py +++ b/src/allmydata/test/test_stringutils.py @@ -166,6 +166,7 @@ class StringUtils: def test_unicode_platform(self): matrix = { 'linux2': False, + 'openbsd4': False, 'win32': True, 'darwin': True, } @@ -270,3 +271,11 @@ class MacOSXLeopard7bit(StringUtils, unittest.TestCase): filesystemencoding = 'utf-8' stdoutencoding = 'US-ASCII' dirlist = [u'A\u0308rtonwall.mp3', u'Blah blah.txt', u'test_file'] + +class OpenBSD(StringUtils, unittest.TestCase): + uname = 'OpenBSD 4.1 GENERIC#187 i386 Intel(R) Celeron(R) CPU 2.80GHz ("GenuineIntel" 686-class)' + #argv = 'lumiere' + platform = 'openbsd4' + filesystemencoding = '646' + stdoutencoding = '646' + # Oops, I cannot write filenames containing non-ascii characters -- 2.45.2