changeset 16726:3286c922ac0b

8175042: Add success message to java/io/FileInputStream/LargeFileAvailable.java Summary: Print "Test succeeded" to stdout at the end of main() Reviewed-by: lancea
author bpb
date Thu, 16 Feb 2017 14:56:49 -0800
parents 910801555a96
children 055092148b3d
files test/java/io/FileInputStream/LargeFileAvailable.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/io/FileInputStream/LargeFileAvailable.java	Thu Feb 16 14:55:34 2017 -0800
+++ b/test/java/io/FileInputStream/LargeFileAvailable.java	Thu Feb 16 14:56:49 2017 -0800
@@ -71,6 +71,9 @@
         } finally {
             file.delete();
         }
+
+        System.out.println("Test succeeded.");
+        System.out.flush();
     }
 
     // Skip toSkip number of bytes and expect that the available() method