Closes #605: Add test files

This commit is contained in:
Marcela Bonell 2015-09-24 17:20:57 -05:00
parent fcb6a56e02
commit ca8e30a45e
3 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
Hello World!

View File

@ -0,0 +1,2 @@
#!/usr/bin/perl
print "Hello World!";

View File

@ -0,0 +1,8 @@
#!/bin/bash
set -e
image="$1"
dirTest="$(dirname "$(readlink -f "$BASH_SOURCE")")"
dirContainer='/usr/src/perl'
docker run -it --rm -v "$dirTest":"$dirContainer" -w "$dirContainer" "$image" perl hello-world.pl