Skip to content

Commit

Permalink
Adjust test script for longer version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Jan 4, 2015
1 parent f8671a4 commit c762297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/runtests.pl
Expand Up @@ -81,7 +81,7 @@ sub compare_ok {

sub chop_volatile {
my $line = shift;
$line =~ s/version="\d\.\d.\d+"/version=""/g; # strip version
$line =~ s/version="\d\.\d+\.\d+(\.\d+)?"/version=""/g; # strip version
$line =~ s/file=".*\/(.*)"/file="$1"/g; # strip location
return $line;
}
Expand Down

0 comments on commit c762297

Please sign in to comment.