summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorP.Adarsh Reddy <quic_padarshr@quicinc.com>2022-07-08 12:52:27 +0530
committerAkilesh Kailash <akailash@google.com>2022-07-12 17:58:24 +0000
commitb2182ee8e08ff88dd528e2a48c459bbd8b157c48 (patch)
tree272f2263a4b5a80932f9382882766a1846d44210
parent9591090a17148d01a803072e2a93bd994d797cae (diff)
downloadcore-b2182ee8e08ff88dd528e2a48c459bbd8b157c48.tar.gz
Do not enforce EROFS for android-T and below.
EROFS is not mandatory for android T and below, so skip the test for those. Bug: 237765186 Test: vts_fs_test fs#ErofsSupported Change-Id: Iceea46f8f2d443636de504962b718a2461605591 Ignore-AOSP-First: already present in aosp/master
-rw-r--r--fs_mgr/tests/vts_fs_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_mgr/tests/vts_fs_test.cpp b/fs_mgr/tests/vts_fs_test.cpp
index aac2cfd9b..3f1210396 100644
--- a/fs_mgr/tests/vts_fs_test.cpp
+++ b/fs_mgr/tests/vts_fs_test.cpp
@@ -28,8 +28,8 @@ static int GetVsrLevel() {
}
TEST(fs, ErofsSupported) {
- // S and higher for this test.
- if (GetVsrLevel() < __ANDROID_API_S__) {
+ // U and higher for this test.
+ if (GetVsrLevel() <= __ANDROID_API_T__) {
GTEST_SKIP();
}