summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-time-dd-test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/oe-time-dd-test.sh b/scripts/oe-time-dd-test.sh
index df36c0b297..386de83dce 100755
--- a/scripts/oe-time-dd-test.sh
+++ b/scripts/oe-time-dd-test.sh
@@ -25,7 +25,6 @@ usage() {
25} 25}
26 26
27run_cmds() { 27run_cmds() {
28 uptime
29 echo "start: top output" 28 echo "start: top output"
30 top -c -b -n1 -w 512 29 top -c -b -n1 -w 512
31 echo "end: top output" 30 echo "end: top output"
@@ -85,6 +84,7 @@ done
85 84
86 85
87if [ "$LOG_ONLY" = "true" ] ; then 86if [ "$LOG_ONLY" = "true" ] ; then
87 uptime
88 run_cmds 88 run_cmds
89 exit 89 exit
90fi 90fi
@@ -94,6 +94,7 @@ if [ -z ${TIMEOUT+x} ] || [ -z ${COUNT+x} ] ; then
94 exit 1 94 exit 1
95fi 95fi
96 96
97uptime
97echo "Timeout used: ${TIMEOUT}" 98echo "Timeout used: ${TIMEOUT}"
98timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=${COUNT} conv=fsync 99timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=${COUNT} conv=fsync
99if [ $? -ne 0 ]; then 100if [ $? -ne 0 ]; then