Skip to content

Commit 99cc411

Browse files
committed
Reverted grants test
1 parent ea3256a commit 99cc411

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -343,20 +343,20 @@ testGrantsList_Fail() {
343343
postTest
344344
}
345345

346-
testGrants_Fail() {
347-
preTest
348-
createTestData "withdata2"
349-
mysql ${MYSQLCREDS} < "${SCRIPT_ROOT}/samples/withdata2/createuser.sql"
350-
mysql ${MYSQLCREDS} -ANe "GRANT INSERT ON testbench.* TO 'userwd2gf'@'%';"
351-
echo "MYSQL_USER=userwd2gf" >> "./test/envfile"
352-
mysql ${MYSQLCREDS} < "${SCRIPT_ROOT}/samples/withdata2/grantToUsers.sql"
353-
echo "SKIP_OP=structure,data,routines,events,triggers,users,views" >> "./test/envfile"
354-
./backup.sh
355-
assertEquals 214 "$?"
356-
destroyTestData "withdata2"
357-
mysql ${MYSQLCREDS} < "${SCRIPT_ROOT}/samples/withdata2/deleteuser.sql"
358-
postTest
359-
}
346+
#testGrants_Fail() {
347+
# preTest
348+
# createTestData "withdata2"
349+
# mysql ${MYSQLCREDS} < "${SCRIPT_ROOT}/samples/withdata2/createuser.sql"
350+
# mysql ${MYSQLCREDS} -ANe "GRANT INSERT ON testbench.* TO 'userwd2gf'@'%';"
351+
# echo "MYSQL_USER=userwd2gf" >> "./test/envfile"
352+
# mysql ${MYSQLCREDS} < "${SCRIPT_ROOT}/samples/withdata2/grantToUsers.sql"
353+
# echo "SKIP_OP=structure,data,routines,events,triggers,users,views" >> "./test/envfile"
354+
# ./backup.sh
355+
# assertEquals 214 "$?"
356+
# destroyTestData "withdata2"
357+
# mysql ${MYSQLCREDS} < "${SCRIPT_ROOT}/samples/withdata2/deleteuser.sql"
358+
# postTest
359+
#}
360360

361361
testBACKUP_manualgrant_Success() {
362362
preTest

0 commit comments

Comments
 (0)