summaryrefslogtreecommitdiff
path: root/common/scripts
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-07-03 01:05:00 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-07-03 01:10:15 +0530
commit08995535249692f408b98238617eb9bb568f3260 (patch)
tree1cac3691c7bcfe63fb96d36051fa847ea26435ec /common/scripts
parent9737b165b1301905e35b96514ca2096d595efc5f (diff)
scheduler_testssuites: Detect android and non android userspace
Detect android and non android userspace and run the scheduler test accordingly. Change-Id: I34e42415a8f3fe97b3594a6b3069ecb0a0512903 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'common/scripts')
-rwxr-xr-xcommon/scripts/scheduler-test-android-setup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/scripts/scheduler-test-android-setup.sh b/common/scripts/scheduler-test-android-setup.sh
new file mode 100755
index 0000000..8234cdc
--- /dev/null
+++ b/common/scripts/scheduler-test-android-setup.sh
@@ -0,0 +1,6 @@
+# Detect Android and do the needful
+if [ -e /system/build.prop ]; then
+ mount -o rw,remount /
+ mkdir -p /bin
+ cp /system/bin/sh /bin/sh
+fi