mib marked an inline comment as done. mib added inline comments.
================ Comment at: lldb/test/API/commands/target/basic/TestTargetCommand.py:343 + def test_target_create_unowned_core_file(self): + self.expect("target create -c ~root", error=True, + substrs=["core file '", "' is not readable"]) ---------------- Currently, I try to open the root user home directory, since I sure it's not readable by other users on UNIX systems. I went this route, because doing a `os.chown` requires privileges, and the test suites doesn't run in a privileged mode. I'm open to suggestions on how I could test this on different platforms. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78712/new/ https://reviews.llvm.org/D78712 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits