• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/system/bin/sh
2
3# Side test for b/124769206.
4if [ -z "$BOOTCLASSPATH" ] ; then
5  log -t apex_tests -p f "BOOTCLASSPATH is perceived as empty"
6  exit 1
7fi
8
9# Look for the session data, but do not fail and instead print a literal
10# otherwise. Sleep is an attempt to ensure that the message always reaches
11# logcat.
12/system/bin/logwrapper \
13  /system/bin/sh -c \
14    'ls /apex/com.android.apex.test_package/etc/sample_prebuilt_file \
15     || echo "PostInstall Test" ; sleep 5s'
16