Jelajahi Sumber

Merge pull request #12732 from tianon/perl

Update Perl to fix cpanm deletion (and add very basic test)
yosifkit 3 tahun lalu
induk
melakukan
604aff0d6e
4 mengubah file dengan 7 tambahan dan 1 penghapusan
  1. 1 1
      library/perl
  2. 1 0
      test/config.sh
  3. 4 0
      test/tests/perl-cpanm/container.sh
  4. 1 0
      test/tests/perl-cpanm/run.sh

+ 1 - 1
library/perl

@@ -1,7 +1,7 @@
 Maintainers: Peter Martini <[email protected]> (@PeterMartini),
 Maintainers: Peter Martini <[email protected]> (@PeterMartini),
              Zak B. Elep <[email protected]> (@zakame)
              Zak B. Elep <[email protected]> (@zakame)
 GitRepo: https://github.com/perl/docker-perl.git
 GitRepo: https://github.com/perl/docker-perl.git
-GitCommit: 87a4b9df7a72c9874d000274ab806d00e9cfbf1a
+GitCommit: f70e8ace49994efef8e90cbf730554a3e3201da7
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
 
 
 Tags: 5.36.0, 5.36, 5, latest, 5.36.0-bullseye, 5.36-bullseye, 5-bullseye, bullseye
 Tags: 5.36.0, 5.36, 5, latest, 5.36.0-bullseye, 5.36-bullseye, 5-bullseye, bullseye

+ 1 - 0
test/config.sh

@@ -169,6 +169,7 @@ imageTests+=(
 	'
 	'
 	[perl]='
 	[perl]='
 		perl-hello-world
 		perl-hello-world
+		perl-cpanm
 	'
 	'
 	[php]='
 	[php]='
 		php-ext-install
 		php-ext-install

+ 4 - 0
test/tests/perl-cpanm/container.sh

@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eux
+
+cpanm --notest Mojolicious

+ 1 - 0
test/tests/perl-cpanm/run.sh

@@ -0,0 +1 @@
+../run-sh-in-container.sh