]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix "make check" for restricted environments (Issue #5099)
authorMichael Sweet <michael.r.sweet@gmail.com>
Thu, 12 Oct 2017 18:27:18 +0000 (14:27 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Thu, 12 Oct 2017 18:27:18 +0000 (14:27 -0400)
CHANGES.md
test/run-stp-tests.sh

index 39cceba2a4449142543cfe4fde9999c8ead3b6a1..07031c6f329d6e6e65caee913d2220afd4e68529 100644 (file)
@@ -37,6 +37,7 @@ CHANGES IN CUPS V2.2.5
   choosing them for draft, normal, and best quality modes (Issue #5091)
 - Fixed the localization unit test on Linux (Issue #5097)
 - The CUPS library did not reuse domain sockets (Issue #5098)
+- Fixed the "make check" target for some environments (Issue #5099)
 - The scheduler woke up once per second to remove old temporary queues
   (Issue #5100)
 - Added USB quirk rule for Kyocera printer (Issue #5102, Issue #5103)
index 37604a9aa4a08aa559652a72b23b03ca002c22a7..41dace7c986dab638835a2ad015e84c6b372eb2e 100755 (executable)
@@ -996,7 +996,7 @@ else
 fi
 
 # Error log messages
-count=`$GREP '^E ' $BASE/log/error_log | wc -l | awk '{print $1}'`
+count=`$GREP '^E ' $BASE/log/error_log | $GREP -v 'Unknown default SystemGroup' | wc -l | awk '{print $1}'`
 if test $count != 33; then
        echo "FAIL: $count error messages, expected 33."
        $GREP '^E ' $BASE/log/error_log