Tests: ignore 'job held' message

Origin: vendor

Gbp-Pq: Name 0010-Tests-ignore-job-held-message.patch
This commit is contained in:
Didier Raboud 2020-02-08 11:49:07 +01:00 committed by openKylinBot
parent 78365163b2
commit 332aaca050
1 changed files with 1 additions and 0 deletions

View File

@ -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 -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 'Job held by' | \
wc -l | awk '{print $1}'`
if test $count != 33; then
echo "FAIL: $count error messages, expected 33."