We recently ran into an issue where CTS was failing on property_contexts.

The best I can tell, is that the CTS build had locale of en_US.utf8 while
the local
build had a locale of C which affected the sort ordering as sort respects
locale.

I proposed a patch to use fc_sort, here:
https://android-review.googlesource.com/#/c/platform/system/sepolicy/+/491917/

Which avoids the locale issue and strips comments so sed can dissapear.

I see it also existing for property contexts, so likely want to submit a
patch for that
too.

-- 
Respectfully,

William C Roberts

Reply via email to