blob: f7512d6926b531057c972e1cca478db721c157bd [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/storage/fs_test/fs_test_fixture.h"
namespace fs_test {
BaseFilesystemTest::~BaseFilesystemTest() {
if (fs_.is_mounted()) {
EXPECT_EQ(fs_.Unmount().status_value(), ZX_OK);
}
EXPECT_EQ(fs_.Fsck().status_value(), ZX_OK);
}
} // namespace fs_test