Skip to content

Commit

Permalink
Allow failure status code
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Feb 5, 2024
1 parent eb0f800 commit 1adee9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/utils.feature
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ Feature: Utilities that do NOT depend on WordPress code
When I try `mysql --database={DB_NAME} --user={DB_USER} --password={DB_PASSWORD} {DB_HOST_STRING} < test_db.sql`
Then the return code should be 0
When I run `mysqldump --help | grep -q 'column-statistics' && echo '--skip-column-statistics'`
# The --skip-column-statistics flag is not always present.
When I try `mysqldump --help | grep -q 'column-statistics' && echo '--skip-column-statistics'`
Then save STDOUT as {SKIP_COLUMN_STATISTICS_FLAG}
# This throws a warning because of the password.
Expand Down

0 comments on commit 1adee9d

Please sign in to comment.