diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-04-30 15:17:39 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-05-02 00:35:20 +0000 |
commit | 44537199a2cdd831f1d6ecab1231784c479b2bc8 (patch) | |
tree | efe543572d3e865f5b6da7deb7e65cbfae7df72e /test/subprocesstest.py | |
parent | 74fd56901883d29a68cc2bcb65f2ba44007d4107 (diff) |
Test: Add wslua.
Change-Id: I904796d13550c04df1958715d6528548385c3109
Reviewed-on: https://code.wireshark.org/review/27241
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'test/subprocesstest.py')
-rw-r--r-- | test/subprocesstest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/subprocesstest.py b/test/subprocesstest.py index 837ecfb0aa..cfef797280 100644 --- a/test/subprocesstest.py +++ b/test/subprocesstest.py @@ -158,7 +158,9 @@ class SubprocessTestCase(unittest.TestCase): self.log_fname = self.filename_from_id('log') # Our command line utilities generate UTF-8. The log file endcoding # needs to match that. - self.log_fd = io.open(self.log_fname, 'w', encoding='UTF-8') + # XXX newline='\n' works for now, but we might have to do more work + # to handle line endings in the future. + self.log_fd = io.open(self.log_fname, 'w', encoding='UTF-8', newline='\n') self.cleanup_files.append(self.log_fname) pre_run_problem_count = 0 if result: |