ZTS: Fix zpool_reopen_[1-5] on Fedora 35
commit9aa0915f8785bafb99f39464bebe5966548677bb
authorTony Hutter <hutter2@llnl.gov>
Fri, 17 Dec 2021 20:37:21 +0000 (17 12:37 -0800)
committerGitHub <noreply@github.com>
Fri, 17 Dec 2021 20:37:21 +0000 (17 12:37 -0800)
treea8f7a57db54e2ee3e4a6c8f60c0b7f4be495f2fd
parent8a02d01e85556bbe3a1c6947bc11b8ef028d4023
ZTS: Fix zpool_reopen_[1-5] on Fedora 35

The zpool_reopen_[1-5] tests are failing Fedora 35 with:

zpool_reopen_001_pos.ksh[64]: log_must[67]: log_pos[270]:
wait_for_resilver_end[98]: wait_for_action: line 71: func: is read only

Renaming 'func' -> 'funct' fixes the issue.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #12871
tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib