You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .test/run.sh
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,7 @@ killoff
254
254
--silent \
255
255
-e "show create user")
256
256
# shellcheck disable=SC2016
257
-
[ "${createuser//\'/\`}"=='CREATE USER `mysql`@`localhost` IDENTIFIED VIA unix_socket' ] || die "I wasn't created how I was expected"
257
+
[ "${createuser//\'/\`}"=='CREATE USER `mysql`@`localhost` IDENTIFIED VIA unix_socket' ] || die "mysql@localhost wasn't created how I was expected"
258
258
259
259
grants="$(docker exec --user mysql -i \
260
260
$cname \
@@ -263,24 +263,23 @@ killoff
263
263
-e show\ grants)"
264
264
265
265
# shellcheck disable=SC2016
266
-
[ "${grants//\'/\`}"=='GRANT USAGE ON *.* TO `mysql`@`localhost` IDENTIFIED VIA unix_socket' ] || die "I wasn't granted what I was expected"
266
+
[ "${grants//\'/\`}"=='GRANT USAGE ON *.* TO `mysql`@`localhost` IDENTIFIED VIA unix_socket' ] || die "mysql@localhost wasn't granted what I was expected"
0 commit comments