8216352: SA: ClhsdbLauncher should throw errors on Unrecognized commands
Reviewed-by: cjplummer, sspitsyn
This commit is contained in:
parent
4dafa3033f
commit
80d6ffee5f
@ -140,6 +140,7 @@ public class ClhsdbLauncher {
|
||||
for (String cmd : commands) {
|
||||
int index = commands.indexOf(cmd) + 1;
|
||||
OutputAnalyzer out = new OutputAnalyzer(parts[index]);
|
||||
out.shouldNotMatch("Unrecognized command.");
|
||||
|
||||
if (expectedStrMap != null) {
|
||||
List<String> expectedStr = expectedStrMap.get(cmd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user