mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 19:28:53 +03:00
ZTS: Another round of changes for FreeBSD
Highlights: * is_linux -> is_illumos swaps * make block_device_wait more clever when paths are given * slightly optimize default_cleanup_noexit * remove platform differences in user_run * temporarily expect non-libfetch behavior for keylocation=/foo/bar * fix sharenfs exceptions * don't test multihost property * fix misc broken platform checks * clear zinjected faults in removal_resume_export callback Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10092
This commit is contained in:
@@ -612,8 +612,8 @@ function default_cleanup_noexit
|
||||
then
|
||||
destroy_pool $pool
|
||||
fi
|
||||
ALL_POOLS=$(get_all_pools)
|
||||
done
|
||||
ALL_POOLS=$(get_all_pools)
|
||||
done
|
||||
|
||||
zfs mount -a
|
||||
@@ -3315,13 +3315,7 @@ function user_run
|
||||
shift
|
||||
|
||||
log_note "user:$user $@"
|
||||
if is_freebsd; then
|
||||
eval "su \$user -c \"$@\"" > $TEST_BASE_DIR/out 2>$TEST_BASE_DIR/err
|
||||
return $?
|
||||
else
|
||||
eval su - \$user -c \"$@\" > $TEST_BASE_DIR/out 2>$TEST_BASE_DIR/err
|
||||
return $?
|
||||
fi
|
||||
eval su - \$user -c \"$@\" > $TEST_BASE_DIR/out 2>$TEST_BASE_DIR/err
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user