ZTS: Fix 'could not unmount datasets' on Alma 9
commit78287023ced23c956b953a953006c0c2b884954d
authorTony Hutter <hutter2@llnl.gov>
Sat, 18 Nov 2023 21:07:06 +0000 (18 13:07 -0800)
committerTony Hutter <hutter2@llnl.gov>
Mon, 20 Nov 2023 21:20:56 +0000 (20 13:20 -0800)
treebc8460945b079f3c4f09723b09264a33c81ed4d9
parent479dca51c66a731e637bd2d4f9bba01a05f9ac9f
ZTS: Fix 'could not unmount datasets' on Alma 9

Many tests are failing on AlmaLinux 9 because ZTS could not destroy the
pool in cleanup.  This was due to $PWD being set to '.' instead of the
expected full path.  This patch sets $PWD to the full path.

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
tests/zfs-tests/include/libtest.shlib