aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/rally/scenario/support
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/OpenStack/rally/scenario/support')
-rwxr-xr-xtestcases/OpenStack/rally/scenario/support/instance_dd_test.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/testcases/OpenStack/rally/scenario/support/instance_dd_test.sh b/testcases/OpenStack/rally/scenario/support/instance_dd_test.sh
deleted file mode 100755
index e3bf23405..000000000
--- a/testcases/OpenStack/rally/scenario/support/instance_dd_test.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-time_seconds(){ (time -p $1 ) 2>&1 |awk '/real/{print $2}'; }
-file=/tmp/test.img
-c=${1:-$SIZE}
-c=${c:-1000} #default is 1GB
-write_seq=$(time_seconds "dd if=/dev/zero of=$file bs=1M count=$c")
-read_seq=$(time_seconds "dd if=$file of=/dev/null bs=1M count=$c")
-[ -f $file ] && rm $file
-
-echo "{
- \"write_seq_${c}m\": $write_seq,
- \"read_seq_${c}m\": $read_seq
- }"