1import lldb
2from lldbsuite.test.lldbtest import *
3from lldbsuite.test.decorators import *
4
5class DeleteCommandTestCase(TestBase):
6
7    @no_debug_info_test
8    def test_delete_builtin(self):
9        self.expect("command delete settings", error=True,
10                    substrs=["'settings' is a permanent debugger command and cannot be removed."])
11
12    @no_debug_info_test
13    def test_delete_alias(self):
14        self.expect("command delete bt", error=True,
15                    substrs=["'bt' is not a known command."])
16