ZTS: Fix 'could not unmount datasets' on Alma 9 (#15542)
commita94860a6dee1c07bb96ee36dafcba40b804560cc
authorTony Hutter <hutter2@llnl.gov>
Tue, 21 Nov 2023 00:07:32 +0000 (20 16:07 -0800)
committerGitHub <noreply@github.com>
Tue, 21 Nov 2023 00:07:32 +0000 (20 16:07 -0800)
tree90ef167e63cd3c53e13fa150fd8a97e376076a80
parentcd67bc0ae470776b8bb6949a689822c4b9acbe35
ZTS: Fix 'could not unmount datasets' on Alma 9 (#15542)

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>
Reviewed-by: Don Brady <don.brady@delphix.com>
tests/zfs-tests/include/libtest.shlib