Adapt test to accept local uncommitted changes
Rafael Garcia-Suarez [Sat, 3 Oct 2009 07:35:27 +0000 (09:35 +0200)]
t/run/switches.t

index 57998dd..8e076d4 100644 (file)
@@ -268,7 +268,7 @@ SWTESTPM
     # DG/UX comes to mind. Maybe we should remove these special cases?
     my $v = sprintf "%vd", $^V;
     like( runperl( switches => ['-v'] ),
-         qr/This is perl, v$v(?:[-\w]+| \([^)]+\))? built for \Q$Config{archname}\E.+Copyright.+Larry Wall.+Artistic License.+GNU General Public License/s,
+         qr/This is perl, v\Q$v\E(?:[-*\w]+| \([^)]+\))? built for \Q$Config{archname}\E.+Copyright.+Larry Wall.+Artistic License.+GNU General Public License/s,
           '-v looks okay' );
 
 }