summaryrefslogtreecommitdiff
path: root/filesystem/filesystem_test.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-12-05 00:44:20 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-12-05 00:44:20 +0000
commit5605d267dedb9b0c45317462c95a394525e3fccb (patch)
treeb38fa6e88272fc5639b9a24668e3743487690c5f /filesystem/filesystem_test.go
parent2067660fdd64ca53cb5852e5871091ad4f8a63da (diff)
parent8759130e8748bac58be78217c3f5f5224ce1eb32 (diff)
Merge "Fixes for avb flags in soong-generated partitions" into main am: 8759130e87
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3390960 Change-Id: I72f8eb592fdd0126e0ca43d491d1020009edecd0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'filesystem/filesystem_test.go')
-rw-r--r--filesystem/filesystem_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/filesystem_test.go b/filesystem/filesystem_test.go
index 72a52111c..86496eb6e 100644
--- a/filesystem/filesystem_test.go
+++ b/filesystem/filesystem_test.go
@@ -593,7 +593,7 @@ func TestErofsPartition(t *testing.T) {
`)
partition := result.ModuleForTests("erofs_partition", "android_common")
- buildImageConfig := android.ContentFromFileRuleForTests(t, result.TestContext, partition.Output("prop"))
+ buildImageConfig := android.ContentFromFileRuleForTests(t, result.TestContext, partition.Output("prop_pre_processing"))
android.AssertStringDoesContain(t, "erofs fs type", buildImageConfig, "fs_type=erofs")
android.AssertStringDoesContain(t, "erofs fs type compress algorithm", buildImageConfig, "erofs_default_compressor=lz4hc,9")
android.AssertStringDoesContain(t, "erofs fs type compress hint", buildImageConfig, "erofs_default_compress_hints=compress_hints.txt")
@@ -609,7 +609,7 @@ func TestF2fsPartition(t *testing.T) {
`)
partition := result.ModuleForTests("f2fs_partition", "android_common")
- buildImageConfig := android.ContentFromFileRuleForTests(t, result.TestContext, partition.Output("prop"))
+ buildImageConfig := android.ContentFromFileRuleForTests(t, result.TestContext, partition.Output("prop_pre_processing"))
android.AssertStringDoesContain(t, "f2fs fs type", buildImageConfig, "fs_type=f2fs")
android.AssertStringDoesContain(t, "f2fs fs type sparse", buildImageConfig, "f2fs_sparse_flag=-S")
}