coverage.sh: redirect to /dev/null instead of --quiet to avoid broken pipe

pull/1/head
parent 327c0e83ca
commit 95e4a82937
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -253,7 +253,10 @@ cat << END > shared/test.sh
#!/bin/sh
set -eu
export LC_ALL=C.UTF-8
$CMD --man | grep --quiet --fixed-strings 'mmdebstrap [OPTION...] [*SUITE* [*TARGET* [*MIRROR*...]]]'
# we redirect to /dev/null instead of using --quiet to not cause a broken pipe
# when grep exits before mmdebstrap was able to write all its output
$CMD --man | grep --fixed-strings 'mmdebstrap [OPTION...] [*SUITE* [*TARGET* [*MIRROR*...]]]' >/dev/null
END
if [ "$HAVE_QEMU" = "yes" ]; then
./run_qemu.sh

Loading…
Cancel
Save