Skip to content

Commit

Permalink
Code review: 340890043: Skip tests that don't work on Windows Subsyst…
Browse files Browse the repository at this point in the history
…em for Linux
  • Loading branch information
Onager committed Mar 20, 2018
1 parent 20d099a commit 045914a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plaso (20180318-1) unstable; urgency=low
plaso (20180320-1) unstable; urgency=low

* Auto-generated

-- Log2Timeline <log2timeline-dev@googlegroups.com> Sun, 18 Mar 2018 11:49:56 +0100
-- Log2Timeline <log2timeline-dev@googlegroups.com> Tue, 20 Mar 2018 21:30:21 +0100
2 changes: 1 addition & 1 deletion plaso/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

from __future__ import unicode_literals

__version__ = '20180318'
__version__ = '20180320'
6 changes: 6 additions & 0 deletions tests/cli/log2timeline_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ def testExtractEventsFromSourcesOnFile(self):
self.assertEqual(output.split(b'\n'), expected_output)

@unittest.skipIf(platform.system() == 'Windows', 'not supported on Windows')
@unittest.skipIf(
platform.release().endswith('Microsoft'),
'not supported on Windows Subsystem for Linux')
def testExtractEventsFromSourcesOnLinkToDirectory(self):
"""Tests the ExtractEventsFromSources function on a symlink to directory."""
output_writer = test_lib.TestOutputWriter(encoding='utf-8')
Expand Down Expand Up @@ -377,6 +380,9 @@ def testExtractEventsFromSourcesOnLinkToDirectory(self):
self.assertEqual(output.split(b'\n'), expected_output)

@unittest.skipIf(platform.system() == 'Windows', 'not supported on Windows')
@unittest.skipIf(
platform.release().endswith('Microsoft'),
'not supported on Windows Subsystem for Linux')
def testExtractEventsFromSourcesOnLinkToFile(self):
"""Tests the ExtractEventsFromSources function on a symlink to file."""
output_writer = test_lib.TestOutputWriter(encoding='utf-8')
Expand Down

0 comments on commit 045914a

Please sign in to comment.