mirror of https://gitee.com/openkylin/cups.git
Tests: ignore 'job held' message
Origin: vendor Gbp-Pq: Name 0010-Tests-ignore-job-held-message.patch
This commit is contained in:
parent
78365163b2
commit
332aaca050
|
@ -1032,6 +1032,7 @@ count=`$GREP '^E ' $BASE/log/error_log | $GREP -v 'Unknown default SystemGroup'
|
||||||
$GREP -v 'Failed to connect to system bus' | \
|
$GREP -v 'Failed to connect to system bus' | \
|
||||||
$GREP -v -E 'Unable to open listen socket for address .* Address family not supported by protocol.' | \
|
$GREP -v -E 'Unable to open listen socket for address .* Address family not supported by protocol.' | \
|
||||||
$GREP -v 'Unable to write uncompressed print data: Broken pipe' | \
|
$GREP -v 'Unable to write uncompressed print data: Broken pipe' | \
|
||||||
|
$GREP -v 'Job held by' | \
|
||||||
wc -l | awk '{print $1}'`
|
wc -l | awk '{print $1}'`
|
||||||
if test $count != 33; then
|
if test $count != 33; then
|
||||||
echo "FAIL: $count error messages, expected 33."
|
echo "FAIL: $count error messages, expected 33."
|
||||||
|
|
Loading…
Reference in New Issue