Tests: test_files.sh: Suppress an expected warning from the log.
xz (but not xzdec) will normally warn about unsupported check but since we are testing specifically such a file, it's better to silence that warning so that it doesn't look suspicious in test_files.sh.log. The use of -q and -Q in xzdec is just for consistency and doesn't affect the result at least for now.
This commit is contained in:
parent
798c86e423
commit
b3459327a5
@ -85,14 +85,14 @@ done
|
||||
|
||||
# Test that this passes with --no-warn (-Q).
|
||||
I="$srcdir/files/unsupported-check.xz"
|
||||
if test -z "$XZ" || "$XZ" -dcQ "$I" > /dev/null; then
|
||||
if test -z "$XZ" || "$XZ" -dcqQ "$I" > /dev/null; then
|
||||
:
|
||||
else
|
||||
echo "Unsupported file failed with xz -Q: $I"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$XZDEC" || "$XZDEC" -Q "$I" > /dev/null; then
|
||||
if test -z "$XZDEC" || "$XZDEC" -qQ "$I" > /dev/null; then
|
||||
:
|
||||
else
|
||||
echo "Unsupported file failed with xzdec -Q: $I"
|
||||
|
Loading…
Reference in New Issue
Block a user