diff options
authorPranith Kumar K <>2019-10-15 16:11:00 +0530
committerKrutika Dhananjay <>2019-10-16 06:49:55 +0000
commit9e7f5346910b337f87c10e7ae39eecf0bd829e01 (patch)
parent06ed7dc11166975b80c35ec56d82a08b8686f6de (diff)
tests: Specify bs for dd
On some distros default bs is very slow and the test takes close to 2 minutes instead of 20 seconds. fixes: bz#1761769 Change-Id: If10d595a7ca05f053237f3c5ffbb09c5151eab35 Signed-off-by: Pranith Kumar K <>
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/shard/bug-1272986.t b/tests/bugs/shard/bug-1272986.t
index 7bcda0b..66e896a 100644
--- a/tests/bugs/shard/bug-1272986.t
+++ b/tests/bugs/shard/bug-1272986.t
@@ -25,7 +25,7 @@ EXPECT "$md5sum1_reader" echo `md5sum $M1/file | awk '{print $1}'`
# Append some more data into the file.
TEST dd if=/dev/urandom of=$M1/file bs=256k count=1 conv=notrunc oflag=direct
-md5sum2_reader=$(dd if=$M0/file iflag=direct | md5sum | awk '{print $1}')
+md5sum2_reader=$(dd if=$M0/file iflag=direct bs=256k| md5sum | awk '{print $1}')
# Test to see if the reader refreshes its cache correctly as part of the reads
# triggered through md5sum. If it does, then the md5sum on the reader and writer