1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

tests: also use sed to shorten log output

This commit is contained in:
Zdenek Kabelac 2020-09-18 00:31:59 +02:00
parent 8d40859e29
commit a4137412bf

View File

@ -23,8 +23,9 @@ mkdir -p $mnt
aux prepare_devs 6 64
printf "%0.sA" {1..16384} >> fileA
printf "%0.sB" {1..16384} >> fileB
printf "%0.sC" {1..16384} >> fileC
# 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
# generate random data
dd if=/dev/urandom of=randA bs=512K count=2