Add script to test system app and shared UID behaviors

System apps (preloaded apps) can be updated through OTA upgrades, which
does not go through PMS's installation validation. System apps can
arbitrarily go in and out of shared UID without restrictions. Create a
script and run through a simulation of multiple cases to ensure all of
them behave as expected.

Test: ./system-app-test.sh
Change-Id: Idec3ac27990d0d6e2579477f53c2964b469ef5a9
1 file changed