RFR: 8272553: several hotspot runtime/CommandLine tests don't check exit code [v2]

Igor Ignatyev iignatyev at openjdk.java.net
Mon Aug 23 18:07:09 UTC 2021


On Mon, 23 Aug 2021 05:00:26 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Igor Ignatyev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   removed redundant check in ConfigFileWarning
>
> test/hotspot/jtreg/runtime/CommandLine/ConfigFileWarning.java line 53:
> 
>> 51:         output.shouldNotHaveExitValue(0);
>> 52:         output.shouldContain("Unrecognized VM option 'aaa'");
>> 53:         output.shouldHaveExitValue(1);
> 
> We are already testing the exit code.

thanks for spotting that, removed.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5191


More information about the hotspot-runtime-dev mailing list