8175041: Add success message to java/nio/channels/FileChannel/LoopingTruncate.java
authorbpb
Thu, 16 Feb 2017 14:55:34 -0800
changeset 43816 1f49172925e2
parent 43815 5fde21996e78
child 43817 bc04ec6a69e2
8175041: Add success message to java/nio/channels/FileChannel/LoopingTruncate.java Summary: Print "Test succeeded" to stdout at the end of main() Reviewed-by: alanb
jdk/test/java/nio/channels/FileChannel/LoopingTruncate.java
--- a/jdk/test/java/nio/channels/FileChannel/LoopingTruncate.java	Thu Feb 16 12:26:23 2017 -0800
+++ b/jdk/test/java/nio/channels/FileChannel/LoopingTruncate.java	Thu Feb 16 14:55:34 2017 -0800
@@ -76,5 +76,8 @@
         } finally {
             Files.deleteIfExists(path);
         }
+
+        System.out.println("Test succeeded.");
+        System.out.flush();
     }
 }