Skip to content

Commit 4c21922

Browse files
committed
Tweak test_readme for postgresql
1 parent aa80c3f commit 4c21922

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/test_readme.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
next if $line =~ /^\|(?:\-|image name)/;
1111
$line =~ s/(^\|)|(\|$)//g;
1212
$line =~ s/\*//g;
13-
$line =~ s/MariaDB //;
13+
$line =~ s/(?:MariaDB|Postgres) //;
1414
my ($image, $base, @rest) = split '\|', $line;
1515
next if $image =~ /(?:openldap|chromedriver)/;
1616
if ($image =~ /(?:addons|chromiumdriver|playwright)/) {
@@ -42,7 +42,7 @@
4242
next;
4343
}
4444
my $wanted = $key;
45-
$wanted = '(?:mysql|mariadb)' if $key eq 'mysql';
45+
$wanted = '(?:mysql|mariadb|postgresql)' if $key eq 'mysql';
4646
my ($version) = $log =~ /$wanted exists \((.+?)\)/i;
4747
is $version => $mapping{$image}{$key} => "$image has correct $key";
4848
}

0 commit comments

Comments
 (0)