summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-09-03 10:13:45 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-09-03 10:13:45 +0000
commit99f9f1f2d811159104bf40c2d1ef5644a7de3c42 (patch)
tree586bad3eda0fd554659de63d194385712b2a2049 /lldb/packages/Python/lldbsuite
parent3e8d5f335da2557a5780c7f51e0cc93574731030 (diff)
downloadbcm5719-llvm-99f9f1f2d811159104bf40c2d1ef5644a7de3c42.tar.gz
bcm5719-llvm-99f9f1f2d811159104bf40c2d1ef5644a7de3c42.zip
[lldb][NFC] Test 'command delete'
llvm-svn: 370733
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/command/delete/TestCommandDelete.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/command/delete/TestCommandDelete.py b/lldb/packages/Python/lldbsuite/test/commands/command/delete/TestCommandDelete.py
new file mode 100644
index 00000000000..3fa654d20aa
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/commands/command/delete/TestCommandDelete.py
@@ -0,0 +1,17 @@
+import lldb
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test.decorators import *
+
+class DeleteCommandTestCase(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+
+ @no_debug_info_test
+ def test_delete_builtin(self):
+ self.expect("command delete settings", error=True,
+ substrs=["'settings' is a permanent debugger command and cannot be removed."])
+
+ @no_debug_info_test
+ def test_delete_alias(self):
+ self.expect("command delete bt", error=True,
+ substrs=["'bt' is not a known command."])
OpenPOWER on IntegriCloud