summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Malinowski <a.malinowsk2@partner.samsung.com>2018-11-21 15:17:00 (GMT)
committerKatarzyna Gorska <k.gorska@samsung.com>2018-11-22 12:17:06 (GMT)
commitab2d27af2e51003981abf90bdbd0af3368535dea (patch)
tree079c71af1a8222e78f33bd148dd75ca3ec6dd006
parentea236484244fd03583c26252a1626b6fb6aebd39 (diff)
downloadhost-ab2d27af2e51003981abf90bdbd0af3368535dea.zip
host-ab2d27af2e51003981abf90bdbd0af3368535dea.tar.gz
host-ab2d27af2e51003981abf90bdbd0af3368535dea.tar.bz2
Add avengers_{dis,}assemble functionsrefs/changes/27/193627/2
avengers_assemble changes all devices status to TS avengers_disassemble changes all devices status to DUT Change-Id: I39ac5024655b233e8f0935462188a5e5cdc1087e
-rw-r--r--util/aliases14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/aliases b/util/aliases
index 269b559..51e4aea 100644
--- a/util/aliases
+++ b/util/aliases
@@ -83,6 +83,20 @@ exit_maintenance() {
echo "Remember to increase slot sizes!"
}
+# avengers_disassemble changes all devices' status to DUT
+avengers_disassemble() {
+ for device in ${DEVICES_LIST}; do
+ sd-mux-ctrl -e "$device" -d
+ done
+}
+
+# avengers_assemble changes all devices' status to TS
+avengers_assemble() {
+ for device in ${DEVICES_LIST}; do
+ sd-mux-ctrl -e "$device" -t
+ done
+}
+
# get_uuid retrieves UUID of second partition for a device; it assumes there
# is exactly one device available at the time of its call
#