From 17ba5a8b1ce1860bb643e71294e5b7b655b0cb77 Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Mon, 25 May 2020 13:18:31 -0700 Subject: [PATCH] Remove too-strict filestore available size test --- contrib/platform/test/com/sun/jna/platform/linux/LibCTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/platform/test/com/sun/jna/platform/linux/LibCTest.java b/contrib/platform/test/com/sun/jna/platform/linux/LibCTest.java index 1210bb30c7..5f45d50de3 100644 --- a/contrib/platform/test/com/sun/jna/platform/linux/LibCTest.java +++ b/contrib/platform/test/com/sun/jna/platform/linux/LibCTest.java @@ -76,7 +76,6 @@ public void testStatvfs() throws IOException, InterruptedException { FileStore fstore = Files.getFileStore(Paths.get(testDirectory)); assertEquals(fstore.getTotalSpace(), vfs.f_blocks.longValue() * vfs.f_bsize.longValue()); - assertEquals(fstore.getUsableSpace(), vfs.f_bavail.longValue() * vfs.f_bsize.longValue()); assertTrue(vfs.f_bsize.longValue() > 0); assertTrue(vfs.f_bfree.longValue() <= vfs.f_blocks.longValue()); assertTrue(vfs.f_ffree.longValue() <= vfs.f_files.longValue());