Browse Source

Add very basic "perl-cpanm" test

Tianon Gravi 3 years ago
parent
commit
6ee007ffc7
3 changed files with 6 additions and 0 deletions
  1. 1 0
      test/config.sh
  2. 4 0
      test/tests/perl-cpanm/container.sh
  3. 1 0
      test/tests/perl-cpanm/run.sh

+ 1 - 0
test/config.sh

@@ -169,6 +169,7 @@ imageTests+=(
 	'
 	[perl]='
 		perl-hello-world
+		perl-cpanm
 	'
 	[php]='
 		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