Bug #89201 Some InnoDB MTR tests should require have_util_unzip
Submitted: 12 Jan 2018 8:11 Modified: 12 Jan 2018 11:04
Reporter: Alexey Kopytov Email Updates:
Status: Verified Impact on me:
Category:Tests: Engine Severity:S3 (Non-critical)
Version:5.7, 8.0, 5.7.20 OS:Any
Assigned to: CPU Architecture:Any

[12 Jan 2018 8:11] Alexey Kopytov
A number of regression InnoDB tests depend on the unzip utility, but do
not declare that dependency to MTR by including
'include/have_util_unzip.inc'. Which results in tests failing rather
than being skipped when the system does not have unzip installed.

The 5.7 tree contains the innodb.innodb-wl5980-linux test which properly
includes have_util_unzip.inc, but the following tests do not:
  - innodb.crc32_endianness.test
  - innodb.log_corruption

In the 8.0 tree the innodb.innodb-wl5980-linux test has been removed,
but the following tests are missing a dependency on unzip:
  - innodb.crc32_endianness.test
  - innodb.sdi
  - innodb.log_corruption
  - innodb.log_corruption_1
  - innodb.import_5_7
  - innodb.innodb-index-debug

How to repeat:
Run any of the listed tests on a system which doesn't have unzip installed.

Suggested fix:
Include have_util_unzip.inc.
[12 Jan 2018 11:04] MySQL Verification Team
Hello Alexey,

Thank you for the report and feedback.