mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 00:50:03 +08:00
[lldb] Use os.path.sep in TestInvalidArgsLog.py to fix Windows bot
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user