OpenJDK / amber / amber
changeset 58215:13f29c43b6c7
8216352: SA: ClhsdbLauncher should throw errors on Unrecognized commands
Reviewed-by: cjplummer, sspitsyn
author | fmatte |
---|---|
date | Fri, 04 Oct 2019 07:54:57 +0100 |
parents | e25b317d0350 |
children | 26f0ed77734e |
files | test/hotspot/jtreg/serviceability/sa/ClhsdbLauncher.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/jtreg/serviceability/sa/ClhsdbLauncher.java Thu Oct 03 18:59:56 2019 +0100 +++ b/test/hotspot/jtreg/serviceability/sa/ClhsdbLauncher.java Fri Oct 04 07:54:57 2019 +0100 @@ -140,6 +140,7 @@ 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);