|
Duplicate :
|
|
|
Duplicate :
|
|
|
Relates :
|
|
|
Relates :
|
The test (and also ClhsdbCDSCore ) use the following to check if CDS is on:
List<String> cmds = List.of("flags UseSharedSpaces");
String useSharedSpacesOutput = test.run(theApp.getPid(), cmds,
null, null);
....
if (!useSharedSpacesOutput.contains("true")) {
// CDS archive is not mapped. Skip the rest of the test.
But the output looks like this:
hsdb> hsdb> + verbose true
hsdb> + flags UseSharedSpaces
UseSharedSpaces = false command line
hsdb> + quit
I think at one point the "if" worked, but the "+ verbose true" part of the log must have been added recently to cause the "if" to determine the wrong result.
|