Skip to content

Commit 6987049

Browse files
authored
Merge pull request #22239 from LongyuZhang/dmp1
Update RasapiTest dump file pattern
2 parents d4c09d4 + 5c8490c commit 6987049

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/functional/RasapiTest/src/com/ibm/jvm/ras/tests/DumpAPITriggerTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public void doTestTriggerDumpWithFile(String type, String fileName, DumpType exp
269269
*/
270270
public void doTestTriggerDumpX(String options, DumpType expectedType) {
271271
String userDir = System.getProperty("user.dir");
272-
String dumpFilePattern = ".*\\.*";
272+
String dumpFilePattern = ".*\\..*";
273273

274274
/* Count the number of files before and after. Should increase by one. */
275275
String[] beforeFileNames = getFilesByPattern(userDir, dumpFilePattern);
@@ -313,7 +313,7 @@ public void doTestTriggerDumpX(String options, DumpType expectedType) {
313313

314314
public void doSTDOUTTestTriggerDumpX(String options) {
315315
String userDir = System.getProperty("user.dir");
316-
String dumpFilePattern = ".*\\.*";
316+
String dumpFilePattern = ".*\\..*";
317317

318318
/* Count the number of files before and after. Should increase by one. */
319319
String[] beforeFileNames = getFilesByPattern(userDir, dumpFilePattern);
@@ -344,7 +344,7 @@ public void doSTDOUTTestTriggerDumpX(String options) {
344344
*/
345345
public InvalidDumpOptionException doTestTriggerBadDumpX(String options) {
346346
String userDir = System.getProperty("user.dir");
347-
String dumpFilePattern = ".*\\.*";
347+
String dumpFilePattern = ".*\\..*";
348348

349349
/* Count the number of files before and after. Should increase by one. */
350350
String[] beforeFileNames = getFilesByPattern(userDir, dumpFilePattern);

0 commit comments

Comments
 (0)