[Piuparts-commits] rev 558 - piatti/home/piupartsm/bin/known_problems

Holger Levsen holger at alioth.debian.org
Thu Dec 10 13:57:43 UTC 2009


Author: holger
Date: 2009-12-10 13:57:42 +0000 (Thu, 10 Dec 2009)
New Revision: 558

Modified:
   piatti/home/piupartsm/bin/known_problems/broken_symlinks_error.conf
   piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf
Log:
correct regex to find broken symlinks

Modified: piatti/home/piupartsm/bin/known_problems/broken_symlinks_error.conf
===================================================================
--- piatti/home/piupartsm/bin/known_problems/broken_symlinks_error.conf	2009-12-09 18:33:57 UTC (rev 557)
+++ piatti/home/piupartsm/bin/known_problems/broken_symlinks_error.conf	2009-12-10 13:57:42 UTC (rev 558)
@@ -1,7 +1,7 @@
 #
 # detect packages which have the string "Broken symlinks" in their logs
 #
-COMMAND=`rgrep "Broken symlinks" fail bugged |cut -d " " -f1|sed -e "s#\.log:#.log#"|sort -u 2>/dev/null`
+COMMAND=`rgrep -E "(WARN|FAIL): Broken symlink" fail bugged |cut -d " " -f1|sed -e "s#\.log:#.log#"|sort -u 2>/dev/null`
 ISSUE=1
 HEADER='Packages which have logs with the string "Broken symlinks"'
 HELPTEXT='

Modified: piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf
===================================================================
--- piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf	2009-12-09 18:33:57 UTC (rev 557)
+++ piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf	2009-12-10 13:57:42 UTC (rev 558)
@@ -1,7 +1,7 @@
 #
 # detect packages which have the string "Broken symlinks" in their logs
 #
-COMMAND=`rgrep "Broken symlinks" pass |cut -d " " -f1|sed -e "s#\.log:#.log#"|sort -u 2>/dev/null`
+COMMAND=`rgrep -E "(WARN|FAIL): Broken symlink" pass |cut -d " " -f1|sed -e "s#\.log:#.log#"|sort -u 2>/dev/null`
 ISSUE=1
 HEADER='Packages which have logs with the string "Broken symlinks"'
 HELPTEXT='




More information about the Piuparts-commits mailing list