vts_fs_test: Only require EROFS in T+ kernels.

Bug: 237765186
Test: vts_fs_test
Ignore-AOSP-First: cherry-pick
Change-Id: I294535953bfbe0f246347487b746d3adf2fca1aa
Merged-In: I294535953bfbe0f246347487b746d3adf2fca1aa
This commit is contained in:
David Anderson 2022-07-13 16:45:11 -07:00
parent 3282850933
commit aee8ddbc46

View file

@ -28,8 +28,8 @@ static int GetVsrLevel() {
}
TEST(fs, ErofsSupported) {
// S and higher for this test.
if (GetVsrLevel() < __ANDROID_API_S__) {
// T-launch GKI kernels and higher must support EROFS.
if (GetVsrLevel() < __ANDROID_API_T__) {
GTEST_SKIP();
}