From: Aleksander Mistewicz Date: Thu, 23 Jun 2016 11:36:55 +0000 (+0200) Subject: Switch off a DUT after running smoke tests X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F76357%2F8;p=tools%2Ftestlab%2Fmajor.git Switch off a DUT after running smoke tests Running Tizen images dramatically reduces sdcard lifetime. Change-Id: I01ba0d05cce99800bb769d52fa823f39bbe4b9bc Signed-off-by: Aleksander Mistewicz --- diff --git a/tct/minnow_prepare_flash_conf.sh b/tct/minnow_prepare_flash_conf.sh index 7ca5e91..c839c90 100755 --- a/tct/minnow_prepare_flash_conf.sh +++ b/tct/minnow_prepare_flash_conf.sh @@ -108,3 +108,7 @@ copy_ssh "${IP}" "${TESTLAB_SCRIPTS}/run/smoke_tests.sh" run_smoke_ssh "${IP}" cat sysctl.result + +echo "### cleanup ###" + +switch2testserver "${SDMUX}" diff --git a/tct/odroid_prepare_flash_conf.sh b/tct/odroid_prepare_flash_conf.sh index 5273abe..4452254 100755 --- a/tct/odroid_prepare_flash_conf.sh +++ b/tct/odroid_prepare_flash_conf.sh @@ -109,5 +109,7 @@ cat sysctl.result echo "### cleanup ###" +switch2testserver "${SDMUX}" + rm -rf "${IMAGE_MOUNTPOINT}" rm -rf "${IMAGE_UNPACKED}"