forked from OSchip/llvm-project
Revert 143359 and modify the test case to not include non-valid c identifier character.
llvm-svn: 143372
This commit is contained in:
parent
fc8feb8137
commit
8e9383d69c
|
@ -1376,6 +1376,13 @@ CommandInterpreter::HandleCommand (const char *command_line,
|
|||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
result.AppendErrorWithFormat ("unknown command shorthand suffix: '%s'\n",
|
||||
suffix.c_str());
|
||||
result.SetStatus (eReturnStatusFailed);
|
||||
return false;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,13 +27,13 @@ class CommandRegexTestCase(TestBase):
|
|||
|
||||
# Substitute 'Help!' for 'help' using the 'commands regex' mechanism.
|
||||
child.expect_exact(prompt)
|
||||
child.sendline("command regex 'Help!'")
|
||||
child.sendline("command regex 'Help__'")
|
||||
child.expect_exact(regex_prompt)
|
||||
child.sendline('s/^$/help/')
|
||||
child.expect_exact(regex_prompt1)
|
||||
child.sendline('')
|
||||
# Help!
|
||||
child.sendline('Help!')
|
||||
child.sendline('Help__')
|
||||
# If we see the familiar 'help' output, the test is done.
|
||||
child.expect('The following is a list of built-in, permanent debugger commands:')
|
||||
|
||||
|
|
Loading…
Reference in New Issue