Mercurial > hg > truffle
diff test/runtime/CommandLine/NonBooleanFlagWithInvalidBooleanPrefix.java @ 8813:6574f999e0cf
Merge
author | dcubed |
---|---|
date | Sat, 23 Mar 2013 22:35:02 -0700 |
parents | 1feda2e9f044 |
children |
line wrap: on
line diff
--- a/test/runtime/CommandLine/NonBooleanFlagWithInvalidBooleanPrefix.java Sat Mar 23 10:06:34 2013 -0700 +++ b/test/runtime/CommandLine/NonBooleanFlagWithInvalidBooleanPrefix.java Sat Mar 23 22:35:02 2013 -0700 @@ -33,17 +33,17 @@ public class NonBooleanFlagWithInvalidBooleanPrefix { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( - "-XX:-ObjectAlignmentInBytes=16", "-version"); + "-XX:-MaxRAMFraction=16", "-version"); OutputAnalyzer output = new OutputAnalyzer(pb.start()); - output.shouldContain("Unexpected +/- setting in VM option 'ObjectAlignmentInBytes=16'"); + output.shouldContain("Unexpected +/- setting in VM option 'MaxRAMFraction=16'"); output.shouldHaveExitValue(1); pb = ProcessTools.createJavaProcessBuilder( - "-XX:+ObjectAlignmentInBytes=16", "-version"); + "-XX:+MaxRAMFraction=16", "-version"); output = new OutputAnalyzer(pb.start()); - output.shouldContain("Unexpected +/- setting in VM option 'ObjectAlignmentInBytes=16'"); + output.shouldContain("Unexpected +/- setting in VM option 'MaxRAMFraction=16'"); output.shouldHaveExitValue(1); }