Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Some housekeeping, expanding test suite
Jim Van Fleet committed Sep 8, 2016
1 parent accd723 commit d7d282d
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -21,7 +21,7 @@ RUN yum -y install --setopt=tsflags=nodocs mariadb-server bind-utils pwgen psmis
# Add starters and installers
ADD ./container_files /opt
RUN rm -rf /etc/my.cnf
COPY ./container_files/conf/my.cnf /etc
COPY ./conf/my.cnf /etc
# Add Volumes and Set permissions
RUN mkdir /opt/shared && chmod 777 /opt/shared && chmod 777 /opt/bin/*.sh

File renamed without changes.
5 changes: 5 additions & 0 deletions tests/image.bats
@@ -9,3 +9,8 @@ load ../common
@test "MariaDB service available" {
docker run -i $maintainer/$imagename find /usr/lib/systemd/system/mariadb.service
}

@test "MariaDB first run consumes tmpfile" {
result="$(docker run -i $maintainer/$imagename find /tmp/firsttimerunning)"
[ "$result" != '' ]
}

0 comments on commit d7d282d

Please sign in to comment.