Author: Raphael Isemann
Date: 2020-08-17T11:57:43+02:00
New Revision: 6b97fa0bfefea7d9028b899a92bc29ab9b133906

URL: 
https://github.com/llvm/llvm-project/commit/6b97fa0bfefea7d9028b899a92bc29ab9b133906
DIFF: 
https://github.com/llvm/llvm-project/commit/6b97fa0bfefea7d9028b899a92bc29ab9b133906.diff

LOG: [lldb] Remove OS-specific string from TestInvalidArgsLog

This is the error message from the OS, so we shouldn't check against the
OS-specific part of the string.

Fixes the test on Windows which returns a different error message.

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 9a1fc699c5721..c2efcf5fddd3e 100644
--- a/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
+++ b/lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
@@ -19,4 +19,4 @@ 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': No such file or directory\n"])
+                    substrs=["Unable to open log file 
'this/is/not/a/valid/path': ", "\n"])


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to