[Lldb-commits] [PATCH] D153091: [lldb][TerminalTest] Fix assertion failure
Kazuki Sakamoto via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 15 21:33:11 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG75e93ec72073: [lldb][TerminalTest] Fix assertion failure (authored by splhack).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153091/new/
https://reviews.llvm.org/D153091
Files:
lldb/unittests/Host/posix/TerminalTest.cpp
Index: lldb/unittests/Host/posix/TerminalTest.cpp
===================================================================
--- lldb/unittests/Host/posix/TerminalTest.cpp
+++ lldb/unittests/Host/posix/TerminalTest.cpp
@@ -6,9 +6,11 @@
//
//===----------------------------------------------------------------------===//
+#include "lldb/Host/FileSystem.h"
#include "lldb/Host/PseudoTerminal.h"
#include "lldb/Host/Terminal.h"
#include "llvm/Testing/Support/Error.h"
+#include "TestingSupport/SubsystemRAII.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
@@ -20,6 +22,7 @@
class TerminalTest : public ::testing::Test {
protected:
+ SubsystemRAII<FileSystem> subsystems;
PseudoTerminal m_pty;
int m_fd;
Terminal m_term;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153091.531979.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230616/cf3dcdad/attachment.bin>
More information about the lldb-commits
mailing list