Skip to content

Commit

Permalink
8278172: java/nio/channels/FileChannel/BlockDeviceSize.java should on…
Browse files Browse the repository at this point in the history
…ly run on Linux

Backport-of: 0d938cedcaf55886058b94dc280a8f7181c79fdf
  • Loading branch information
GoeLin committed Jan 5, 2022
1 parent a471f7a commit bd28050
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/jdk/java/nio/channels/FileChannel/BlockDeviceSize.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -23,6 +23,7 @@

/* @test
* @bug 8054029
* @requires (os.family == "linux")
* @summary Block devices should not report size=0 on Linux
*/

Expand Down

1 comment on commit bd28050

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.