Skip to content
Permalink
Browse files

Adding UT8 tests

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Sep 8, 2016
1 parent d7d282d commit 4f28b1061dcc06d388da3eee9a062aa4181754ee
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests/running.bats
@@ -19,3 +19,15 @@ load ../common
@test "Creates user account with password" {
docker exec -i $imagename mysql -u registry_user --password="WJzesbe3poNZ91qIbmR7" -h 127.0.0.1 -e 'show tables' registry
}

@test "UTF8 character set" {
docker exec -i $imagename mysql -u root -h 127.0.0.1 --password=123321 -e 'show variables' | grep char | grep utf8
}

@test "UTF8 collations" {
docker exec -i $imagename mysql -u root -h 127.0.0.1 --password=123321 -e 'show variables' | grep collation | grep utf8_bin
}

@test "UTF8 databases" {
docker exec -i $imagename mysql -u root -h 127.0.0.1 --password=123321 -e 'show create database registry' | grep "DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
}

0 comments on commit 4f28b10

Please sign in to comment.
You can’t perform that action at this time.