Skip to content
Permalink
d7d282d9e5
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
16 lines (12 sloc) 402 Bytes
#!/usr/bin/env bats
load ../common
@test "Data directory created" {
docker run -i $maintainer/$imagename find /var/lib/mysql
}
@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" != '' ]
}