summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2017-02-15 10:06:07 (GMT)
committerPawel Wieczorek <p.wieczorek2@samsung.com>2017-04-12 09:52:47 (GMT)
commitb291c7522b8f9246f811abcde952ca7596dac5bf (patch)
tree0377ce526eb144294a6458c3d380e4d863b0f79d
parent995c41a2a0c585095e04a559146fefb4690945af (diff)
downloadmajor-b291c7522b8f9246f811abcde952ca7596dac5bf.zip
major-b291c7522b8f9246f811abcde952ca7596dac5bf.tar.gz
major-b291c7522b8f9246f811abcde952ca7596dac5bf.tar.bz2
Allow writing to / for making screenshotrefs/changes/33/121933/2
Change-Id: Ic7b5e75c7ad4b909cd4b429deaf7c1608d89e78c
-rwxr-xr-xtct/odroid_run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tct/odroid_run.sh b/tct/odroid_run.sh
index 72b0c94..c76ff44 100755
--- a/tct/odroid_run.sh
+++ b/tct/odroid_run.sh
@@ -43,12 +43,14 @@ run_smoke_sdb "${SDMUX}"
if [ -f "${SCREENSHOOTER_RPM}" ];
then
+ sdb -s "${SDMUX}" shell mount -o rw,remount /
copy_sdb "${SDMUX}" "${SCREENSHOOTER_RPM}" "/tmp"
sdb -s "${SDMUX}" shell rpm -i "/tmp/${SCREENSHOOTER_RPM##*/}"
sdb -s "${SDMUX}" shell sync
TMP_SCREENSHOT="/tmp/screenshot.png"
sdb -s "${SDMUX}" shell "XDG_RUNTIME_DIR=/run" screenshooter -f "${TMP_SCREENSHOT}"
sdb -s "${SDMUX}" pull "${TMP_SCREENSHOT}" .
+ sdb -s "${SDMUX}" shell mount -o ro,remount /
fi
test -n "$CONNECT_CNT_STR" && echo "$CONNECT_CNT_STR" >> sysctl.result