DiskErrors.tst: dont't assume "encoder error" as disk I/O error
authorAlexander Barton <alex@barton.de>
Thu, 15 Sep 2011 08:00:47 +0000 (10:00 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 15 Sep 2011 08:00:47 +0000 (10:00 +0200)
client/lib/tests/Darwin/DiskErrors.tst

index 67075f4..2d78773 100644 (file)
@@ -13,7 +13,9 @@ if [ -n "$offset" ]; then
        # reboot detected in system.log
        error=`LC_ALL=C tail -c "+$offset" /var/log/system.log \
         | grep -i "I/O" | grep -i error | grep -v nagcollect \
-        | grep -v "com.apple.mdworker.pool" | tail -n 1`
+        | grep -v "com.apple.mdworker.pool" \
+        | grep -v "encoder error" \
+        | tail -n 1`
 else
        # no reboot detected in system.log
        error=`LC_ALL=C grep -i "I/O" /var/log/system.log \