72 checkContains(tr, LOCALE_SETTINGS); |
72 checkContains(tr, LOCALE_SETTINGS); |
73 } |
73 } |
74 |
74 |
75 static void runTestOptionDefault() throws IOException { |
75 static void runTestOptionDefault() throws IOException { |
76 TestHelper.TestResult tr = null; |
76 TestHelper.TestResult tr = null; |
77 tr = TestHelper.doExec(TestHelper.javaCmd, "-Xmx512m", "-Xss128k", |
77 tr = TestHelper.doExec(TestHelper.javaCmd, "-Xms64m", "-Xmx512m", |
78 "-XshowSettings", "-jar", testJar.getAbsolutePath()); |
78 "-Xss128k", "-XshowSettings", "-jar", testJar.getAbsolutePath()); |
|
79 containsAllOptions(tr); |
|
80 if (!tr.isOK()) { |
|
81 System.out.println(tr.status); |
|
82 throw new RuntimeException("test fails"); |
|
83 } |
|
84 tr = TestHelper.doExec(TestHelper.javaCmd, "-Xms65536k", "-Xmx712m", |
|
85 "-Xss122880", "-XshowSettings", "-jar", testJar.getAbsolutePath()); |
79 containsAllOptions(tr); |
86 containsAllOptions(tr); |
80 if (!tr.isOK()) { |
87 if (!tr.isOK()) { |
81 System.out.println(tr.status); |
88 System.out.println(tr.status); |
82 throw new RuntimeException("test fails"); |
89 throw new RuntimeException("test fails"); |
83 } |
90 } |