Skip to content
Permalink
Browse files

Some housekeeping, expanding test suite

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Sep 8, 2016
1 parent accd723 commit d7d282d9e5bd25b4e8c099f687ff24ccb90a3c3f
Showing with 6 additions and 1 deletion.
  1. +1 −1 Dockerfile
  2. 0 {container_files → }/conf/my.cnf
  3. +5 −0 tests/image.bats
@@ -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.
@@ -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.
You can’t perform that action at this time.