~pwlars/ubuntu-test-cases/krillin-recovery

« back to all changes in this revision

Viewing changes to tests/suspend-blocker/suspend-blocker/setup.sh

  • Committer: paul.larson at canonical
  • Date: 2014-04-08 19:25:57 UTC
  • mto: This revision was merged to the branch mainline in revision 218.
  • Revision ID: paul.larson@canonical.com-20140408192557-x2q33m64o3occr4b
Add suspend-blocker test

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
${TARGET_PREFIX} mkdir -p /tmp/results
 
4
${TARGET_PREFIX} mkdir -p /tmp/suspend-blocker
 
5
adb push suspend-blocker /tmp/suspend-blocker
 
6
adb push susblock.conf /home/phablet/.config/upstart
 
7
${TARGET_PREFIX} chmod +x /tmp/suspend-blocker/suspend-blocker
 
8
${TARGET_PREFIX} chown phablet.phablet /home/phablet/.config/upstart/susblock.conf
 
9
${TARGET_PREFIX} rm -f /home/phablet/.cache/upstart/susblock.log
 
10