diff options
author | Karel Zak | 2017-03-24 12:23:59 +0100 |
---|---|---|
committer | Karel Zak | 2017-03-24 12:23:59 +0100 |
commit | 958ff57c868c468110aebd25a9da6dc70a39e247 (patch) | |
tree | f5139d0844315a002eddfa6b172fb39ef2406601 /tests/ts/fincore/count | |
parent | blkid: fix compiler warning [-Wdiscarded-qualifiers] (diff) | |
download | kernel-qcow2-util-linux-958ff57c868c468110aebd25a9da6dc70a39e247.tar.gz kernel-qcow2-util-linux-958ff57c868c468110aebd25a9da6dc70a39e247.tar.xz kernel-qcow2-util-linux-958ff57c868c468110aebd25a9da6dc70a39e247.zip |
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>
Diffstat (limited to 'tests/ts/fincore/count')
-rwxr-xr-x | tests/ts/fincore/count | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ts/fincore/count b/tests/ts/fincore/count index a3638ac88..8513d5f30 100755 --- a/tests/ts/fincore/count +++ b/tests/ts/fincore/count @@ -29,7 +29,7 @@ function run_dd_test if [ "$bs" = 0 ]; then touch $input 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 $TS_CMD_FINCORE --bytes --noheadings $input @@ -48,8 +48,8 @@ function run_dd_dd_test input=$(make_input_name "$header") INPUT="${INPUT} ${input}" - $DD if=/dev/zero of=$input count=1 bs=$bs $flags0 - $DD if=/dev/zero of=$input count=1 bs=$bs $flags1 + $DD if=/dev/zero of=$input count=1 bs=$bs $flags0 &> /dev/null + $DD if=/dev/zero of=$input count=1 bs=$bs $flags1 &> /dev/null $TS_CMD_FINCORE --bytes --noheadings $input |