Skip to content

Commit

Permalink
Add diagnostic output for failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Oct 12, 2018
1 parent ea13d8e commit 8798551
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/running.bats
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ load ../common
}

@test "UTF8 collations" {
docker exec -i $imagename mysql -u root -h 127.0.0.1 --password=123321 -e 'show variables' | grep collation
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'
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 8798551

Please sign in to comment.