[lldb] Use os.path.sep in TestInvalidArgsLog.py to fix Windows bot

This commit is contained in:
Raphael Isemann
2020-08-17 19:03:27 +02:00
parent 51c152ca2a
commit c6cc566c8a

View File

@@ -18,5 +18,6 @@ class InvalidArgsLogTestCase(TestBase):
@no_debug_info_test
def test_enable_empty(self):
self.expect("log enable lldb all -f this/is/not/a/valid/path", error=True,
substrs=["Unable to open log file 'this/is/not/a/valid/path': ", "\n"])
invalid_path = os.path.join("this", "is", "not", "a", "valid", "path")
self.expect("log enable lldb all -f " + invalid_path, error=True,
substrs=["Unable to open log file '" + invalid_path + "': ", "\n"])