hotspot/test/serviceability/logging/TestQuotedLogOutputs.java
changeset 37465 1d5551f466ee
parent 35229 b8d78ee728b2
child 38152 80e5da81fb2c
equal deleted inserted replaced
37464:5373bbadb433 37465:1d5551f466ee
    99                                                                       "-version");
    99                                                                       "-version");
   100             OutputAnalyzer output = new OutputAnalyzer(pb.start());
   100             OutputAnalyzer output = new OutputAnalyzer(pb.start());
   101             output.shouldHaveExitValue(1);
   101             output.shouldHaveExitValue(1);
   102             // Ensure error message was logged
   102             // Ensure error message was logged
   103             output.shouldMatch("([Mm]issing terminating quote)"
   103             output.shouldMatch("([Mm]issing terminating quote)"
   104                 + "|(Could not open log file '')"
   104                 + "|(Error opening log file '')"
   105                 + "|(Output name can not be partially quoted)");
   105                 + "|(Output name can not be partially quoted)");
   106         }
   106         }
   107     }
   107     }
   108 }
   108 }
   109 
   109