From 8798551c10c7308cfb83d8a8fbb01b933c35efd4 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Sat, 13 Oct 2018 00:50:46 +0200 Subject: [PATCH] Add diagnostic output for failing tests --- tests/running.bats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/running.bats b/tests/running.bats index ddb663d..07b7696 100644 --- a/tests/running.bats +++ b/tests/running.bats @@ -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" -} \ No newline at end of file +}