From 81771255201ffb921ff4c4600edb2c908a24d010 Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Tue, 18 Aug 2015 16:09:08 +0800 Subject: ubuntu: ltp: fix out of disk space issue The current approach is download and install LTP in test folder, which causes the size of the folder is very big. Once the compressed size of the folder exceed the disk space available on master image, it will lead to result collection failure. Alternatively, we can download and install LTP under /opt/ltp directory. In this way, it addresses the out of disk space issue, and we only need compile and install LTP once for multiple LTP lava_test_shells in the same LAVA job. Change-Id: I5f5c37c38c2cbabb77c1a2227c5336a93cf872f2 Signed-off-by: Chase Qi Signed-off-by: Milosz Wasilewski --- common/scripts/ltpfixup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/scripts/ltpfixup.sh b/common/scripts/ltpfixup.sh index 777f237..52c85c9 100755 --- a/common/scripts/ltpfixup.sh +++ b/common/scripts/ltpfixup.sh @@ -9,7 +9,7 @@ echo "Script path is: $SCRIPTPATH" TST_CMDFILES="" # List of test cases to be skipped SKIPFILE="" -# Used only for ltp-ddt tests. Only run test cases which match PATTERNS. Patterns are +# Used only for ltp-ddt tests. Only run test cases which match PATTERNS. Patterns are # seperated by a comma PATTERNS="" @@ -17,7 +17,7 @@ LTP_PATH=/opt/ltp while getopts T:S:P:s: arg do case $arg in - T) + T) TST_CMDFILES="$OPTARG" LOG_FILE=`echo $OPTARG| sed 's,\/,_,'`;; S) OPT=`echo $OPTARG | grep "http"` -- cgit v1.2.3