From 6fd79affe405af5b16ffbaffba231a537142c755 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Thu, 13 Aug 2015 22:08:39 +0530 Subject: [PATCH] tests: All the volumes exposed --- bitnami/tomcat/test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bitnami/tomcat/test.sh b/bitnami/tomcat/test.sh index 20ebca7e917a..6422307d024d 100755 --- a/bitnami/tomcat/test.sh +++ b/bitnami/tomcat/test.sh @@ -67,3 +67,11 @@ create_full_container(){ run docker run --link $CONTAINER_NAME:tomcat --rm $IMAGE_NAME curl -L -i http://$TOMCAT_USER:$TOMCAT_PASSWORD@tomcat:8080/manager/html [[ "$output" =~ '200 OK' ]] } + +@test "All the volumes exposed" { + create_container -d + run docker inspect $CONTAINER_NAME + [[ "$output" =~ "/app" ]] + [[ "$output" =~ "$VOL_PREFIX/conf" ]] + [[ "$output" =~ "$VOL_PREFIX/logs" ]] +}