< prev index next >
test/hotspot/jtreg/runtime/ErrorHandling/ErrorFileRedirectTest.java
Print this page
@@ -56,11 +56,11 @@
OutputAnalyzer output_detail = new OutputAnalyzer(pb.start());
// we should have crashed with a SIGSEGV
output_detail.shouldMatch("# A fatal error has been detected by the Java Runtime Environment:.*");
- output_detail.shouldMatch("# +(?:SIGSEGV|EXCEPTION_ACCESS_VIOLATION).*");
+ output_detail.shouldMatch("# +(?:SIGSEGV|SIGBUS|EXCEPTION_ACCESS_VIOLATION).*");
// If no redirection happened, we should find a mention of the file in the output.
String hs_err_file = output_detail.firstMatch("# *(\\S*hs_err_pid\\d+\\.log)", 1);
if (redirectStdout == false && redirectStderr == false) {
if (hs_err_file == null) {
< prev index next >