aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-tests/tools/df.sh
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-19 13:18:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-20 12:14:32 +0100
commitd469c92394a1a95ae7a45b8b80dc4c2918e0e9a6 (patch)
treebf46541bf207a6e4f5470b59feac7de9fcb67a1a /scripts/qemuimage-tests/tools/df.sh
parenta68b4c6ee780c0efe6c877595d0c10b3192ad80b (diff)
downloadopenembedded-core-contrib-d469c92394a1a95ae7a45b8b80dc4c2918e0e9a6.tar.gz
classes/imagetest-qemu: remove old image testing class
This has now been superseded by testimage. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'scripts/qemuimage-tests/tools/df.sh')
-rw-r--r--scripts/qemuimage-tests/tools/df.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/qemuimage-tests/tools/df.sh b/scripts/qemuimage-tests/tools/df.sh
deleted file mode 100644
index 280c08e031..0000000000
--- a/scripts/qemuimage-tests/tools/df.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-# df test script to check enough disk space for qemu target
-#
-# Author: veera <veerabrahmamvr@huawei.com>
-#
-# This file is licensed under the GNU General Public License,
-# Version 2.
-#taking the size of the each partition
-array_list=(`df -P | tr -s " " | cut -d " " -f4`)
-#Total size of the array
-array_size=`echo ${#array_list[@]}`
-loop_val=1
-#while loop to check the size of partitions are less than 5MB
-while [ $loop_val -lt $array_size ]
-do
- #taking each value from the array to check the size
- value=`echo ${array_list[$loop_val]}`
- if [[ $value -gt 5120 ]];then
- loop_val=`expr $loop_val + 1`
- else
- echo "QEMU: df : disk space is not enough"
- exit 1
- fi
-done
-exit 0