[Midnightbsd-cvs] mports: OutcomeRules.pm: Make the check-fake rules more strict.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Thu Oct 9 12:33:48 EDT 2008


Log Message:
-----------
Make the check-fake rules more strict.  This should fix the false negative
on irc/bitlbee

Modified Files:
--------------
    mports/Tools/lib/Magus:
        OutcomeRules.pm (r1.5 -> r1.6)

-------------- next part --------------
Index: OutcomeRules.pm
===================================================================
RCS file: /home/cvs/mports/Tools/lib/Magus/OutcomeRules.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -L Tools/lib/Magus/OutcomeRules.pm -L Tools/lib/Magus/OutcomeRules.pm -u -r1.5 -r1.6
--- Tools/lib/Magus/OutcomeRules.pm
+++ Tools/lib/Magus/OutcomeRules.pm
@@ -101,7 +101,7 @@
 use base qw(Magus::OutcomeRules::Base);
 
 sub IncompleteInstall :error {
-  m/^\s+.* not installed.\n$/m
+  m/^\s+.* not installed.$/m
     && return "A file in the plist wasn't installed in the fake dir or the final dir.";
 }
 
@@ -111,7 +111,7 @@
 }
 
 sub FakedOutsideDestdir :error {
-  m:^\s+.* installed in /:m
+  m:^    .* installed in /:m
     && return "A file was installed in the final dir instead of the fake dir.";
 }
 


More information about the Midnightbsd-cvs mailing list