changeset 16751:910801555a96

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
author bpb
date Thu, 16 Feb 2017 14:55:34 -0800
parents 9174f842811d
children 3286c922ac0b
files test/java/nio/channels/FileChannel/LoopingTruncate.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/nio/channels/FileChannel/LoopingTruncate.java	Thu Feb 16 12:26:23 2017 -0800
+++ b/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();
     }
 }