OpenJDK / jdk / jdk
changeset 43816:1f49172925e2
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 | 5fde21996e78 |
children | bc04ec6a69e2 |
files | jdk/test/java/nio/channels/FileChannel/LoopingTruncate.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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(); } }