mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Disable FstatfsTest.BlocksFree in statfs_test_native.
PiperOrigin-RevId: 588482056
This commit is contained in:
@@ -116,6 +116,10 @@ TEST(FstatfsTest, InternalDevShm) {
|
||||
// Tests that the number of blocks free in the filesystem, as reported by
|
||||
// statfs(2) updates appropriately when pages are allocated.
|
||||
TEST(FstatfsTest, BlocksFree) {
|
||||
// This test relies on the test being the only user of the filesystem, which
|
||||
// is not feasible outside of a sandbox.
|
||||
SKIP_IF(!IsRunningOnGvisor());
|
||||
|
||||
const std::string file_path = NewTempAbsPath();
|
||||
const std::string dir = std::string(Dirname(file_path));
|
||||
struct statfs st_before;
|
||||
|
||||
Reference in New Issue
Block a user