From a4137412bf64843578fd116f443d6586a0cffbed Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 18 Sep 2020 00:31:59 +0200 Subject: [PATCH] tests: also use sed to shorten log output --- test/shell/integrity-dmeventd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/shell/integrity-dmeventd.sh b/test/shell/integrity-dmeventd.sh index 0a081599f..a8c41803e 100644 --- a/test/shell/integrity-dmeventd.sh +++ b/test/shell/integrity-dmeventd.sh @@ -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