From cb248e16df8345530778671cb9d757e85e047fc4 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Tue, 1 Sep 2015 15:49:57 +0530 Subject: [PATCH] tests: All the volumes exposed --- bitnami/wildfly/test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bitnami/wildfly/test.sh b/bitnami/wildfly/test.sh index 7b2fc3dfc0c1..0f0679fc7907 100755 --- a/bitnami/wildfly/test.sh +++ b/bitnami/wildfly/test.sh @@ -71,3 +71,11 @@ create_full_container() { run docker run --link $CONTAINER_NAME:wildfly --rm $IMAGE_NAME curl -L -i --digest http://$WILDFLY_USER:$WILDFLY_PASSWORD@wildfly:9990/management [[ "$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" ]] +}