Author: Raphael Isemann Date: 2020-08-17T19:03:27+02:00 New Revision: c6cc566c8a95bb39c65f7b39649e804809fc8701
URL: https://github.com/llvm/llvm-project/commit/c6cc566c8a95bb39c65f7b39649e804809fc8701 DIFF: https://github.com/llvm/llvm-project/commit/c6cc566c8a95bb39c65f7b39649e804809fc8701.diff LOG: [lldb] Use os.path.sep in TestInvalidArgsLog.py to fix Windows bot Added: Modified: lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py Removed: ################################################################################ diff --git a/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py b/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py index c2efcf5fddd3e..dfbd4b756f92f 100644 --- a/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py +++ b/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py @@ -18,5 +18,6 @@ def test_disable_empty(self): @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"]) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits