This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Adapt test to accept local uncommitted changes
authorRafael Garcia-Suarez <rgs@consttype.org>
Sat, 3 Oct 2009 07:35:27 +0000 (09:35 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
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' );
 
 }