diff --git a/test/shell/integrity-misc.sh b/test/shell/integrity-misc.sh index e025c93d2..4ebf42213 100644 --- a/test/shell/integrity-misc.sh +++ b/test/shell/integrity-misc.sh @@ -22,9 +22,11 @@ mkdir -p $mnt aux prepare_devs 5 64 -printf "%0.sA" {1..16384} >> fileA -printf "%0.sB" {1..16384} >> fileB -printf "%0.sC" {1..16384} >> fileC +# Use awk instead of anoyingly long log out from printf +#printf "%0.sA" {1..16384} >> fileA +awk 'BEGIN { while (z++ < 16384) printf "A" }' > fileA +awk 'BEGIN { while (z++ < 16384) printf "B" }' > fileB +awk 'BEGIN { while (z++ < 16384) printf "C" }' > fileC # generate random data dd if=/dev/urandom of=randA bs=512K count=2 diff --git a/test/shell/integrity.sh b/test/shell/integrity.sh index f2acc1ee4..6af12f23f 100644 --- a/test/shell/integrity.sh +++ b/test/shell/integrity.sh @@ -23,10 +23,11 @@ mkdir -p $mnt aux prepare_devs 5 64 -printf "%0.sA" {1..16384} >> fileA -# instead of long debug 'printf' log use 'sed' and just replace A->B|C -sed -e 's,A,B,g' fileA > fileB -sed -e 's,A,C,g' fileA > fileC +# Use awk instead of anoyingly long log out from printf +#printf "%0.sA" {1..16384} >> fileA +awk 'BEGIN { while (z++ < 16384) printf "A" }' > fileA +awk 'BEGIN { while (z++ < 16384) printf "B" }' > fileB +awk 'BEGIN { while (z++ < 16384) printf "C" }' > fileC # generate random data dd if=/dev/urandom of=randA bs=512K count=2