--- a/tests/sanity.sh
+++ b/tests/sanity.sh
@@ -82,15 +82,17 @@
 tested=`expr $tested + 1`
 
 # check that log files have only one line (the command)
+# and the 6 references to launchapd bug 1466210
+# which makes up 19 lines
 nok=0
 for file in $dir/*/docs/gtkdoc-*.log; do
-  expected_lines="1"
+  expected_lines="19"
   # adjust for known files
   if test $file = "$dir/fail/docs/gtkdoc-mkdb.log"; then
-    expected_lines="16"
+    expected_lines="34"
   fi
   if test $file = "$dir/gobject/docs/gtkdoc-fixxref.log"; then
-    expected_lines="2"
+    expected_lines="20"
   fi
   case $file in
   *gtkdoc-fixxref.log)
