# HG changeset patch # User fmatte # Date 1570172097 -3600 # Node ID 13f29c43b6c7cc436a911aa901cd759ad17c6397 # Parent e25b317d0350fe5933ffdba7ab09d154b687f4e1 8216352: SA: ClhsdbLauncher should throw errors on Unrecognized commands Reviewed-by: cjplummer, sspitsyn diff -r e25b317d0350 -r 13f29c43b6c7 test/hotspot/jtreg/serviceability/sa/ClhsdbLauncher.java --- 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 expectedStr = expectedStrMap.get(cmd);