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