test/hotspot/jtreg/gc/TestAllocateHeapAtError.java
changeset 50525 767cdb97f103
parent 48154 dea4d68f1340
child 51949 2a1e47af3c6b
equal deleted inserted replaced
50524:04f4e983c2f7 50525:767cdb97f103
    22  */
    22  */
    23 
    23 
    24 /* @test TestAllocateHeapAtError.java
    24 /* @test TestAllocateHeapAtError.java
    25  * @key gc
    25  * @key gc
    26  * @summary Test to check correct handling of non-existent directory passed to AllocateHeapAt option
    26  * @summary Test to check correct handling of non-existent directory passed to AllocateHeapAt option
       
    27  * @requires vm.gc != "Z"
    27  * @library /test/lib
    28  * @library /test/lib
    28  * @modules java.base/jdk.internal.misc
    29  * @modules java.base/jdk.internal.misc
    29  */
    30  */
    30 
    31 
    31 import java.io.File;
    32 import java.io.File;
    73     output.shouldContain("Could not create file for Heap");
    74     output.shouldContain("Could not create file for Heap");
    74     output.shouldContain("Error occurred during initialization of VM");
    75     output.shouldContain("Error occurred during initialization of VM");
    75     output.shouldNotHaveExitValue(0);
    76     output.shouldNotHaveExitValue(0);
    76   }
    77   }
    77 }
    78 }
    78