Switch off a DUT after running smoke tests 57/76357/8
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Thu, 23 Jun 2016 11:36:55 +0000 (13:36 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 24 Aug 2016 08:54:54 +0000 (10:54 +0200)
Running Tizen images dramatically reduces sdcard lifetime.

Change-Id: I01ba0d05cce99800bb769d52fa823f39bbe4b9bc
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
tct/minnow_prepare_flash_conf.sh
tct/odroid_prepare_flash_conf.sh

index 7ca5e91..c839c90 100755 (executable)
@@ -108,3 +108,7 @@ copy_ssh "${IP}" "${TESTLAB_SCRIPTS}/run/smoke_tests.sh"
 run_smoke_ssh "${IP}"
 
 cat sysctl.result
+
+echo "### cleanup ###"
+
+switch2testserver "${SDMUX}"
index 5273abe..4452254 100755 (executable)
@@ -109,5 +109,7 @@ cat sysctl.result
 
 echo "### cleanup ###"
 
+switch2testserver "${SDMUX}"
+
 rm -rf "${IMAGE_MOUNTPOINT}"
 rm -rf "${IMAGE_UNPACKED}"