tests: redirect unwanted dd(1) advices to /dev/null
It seems that dd(1) on travis writes unwanted messages to stdout dd: you probably want conv=notrunc with oflag=append and we do not want conv= Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
071147ab89
commit
958ff57c86
|
@ -29,7 +29,7 @@ function run_dd_test
|
||||||
if [ "$bs" = 0 ]; then
|
if [ "$bs" = 0 ]; then
|
||||||
touch $input
|
touch $input
|
||||||
else
|
else
|
||||||
$DD if=/dev/zero of=$input count=1 bs=$bs $flags
|
$DD if=/dev/zero of=$input count=1 bs=$bs $flags &> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$TS_CMD_FINCORE --bytes --noheadings $input
|
$TS_CMD_FINCORE --bytes --noheadings $input
|
||||||
|
@ -48,8 +48,8 @@ function run_dd_dd_test
|
||||||
input=$(make_input_name "$header")
|
input=$(make_input_name "$header")
|
||||||
INPUT="${INPUT} ${input}"
|
INPUT="${INPUT} ${input}"
|
||||||
|
|
||||||
$DD if=/dev/zero of=$input count=1 bs=$bs $flags0
|
$DD if=/dev/zero of=$input count=1 bs=$bs $flags0 &> /dev/null
|
||||||
$DD if=/dev/zero of=$input count=1 bs=$bs $flags1
|
$DD if=/dev/zero of=$input count=1 bs=$bs $flags1 &> /dev/null
|
||||||
|
|
||||||
$TS_CMD_FINCORE --bytes --noheadings $input
|
$TS_CMD_FINCORE --bytes --noheadings $input
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue