mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-06-02 04:04:24 +03:00
OpenZFS 6580 - zfs-tests use undefined variable WRAPPER
Authored by: Yuri Pankov <yuri.pankov@gmail.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: George Melikov <mail@gmelikov.ru> OpenZFS-issue: https://www.illumos.org/issues/6580 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/9498083 Closes #5789 Porting notes: - deleted in ZoL: functional/utils_test/utils_test_007_pos.ksh
This commit is contained in:
committed by
Brian Behlendorf
parent
510e66db85
commit
8b2174b9a4
@@ -88,13 +88,6 @@ function verify_cache_device
|
||||
"<status> [type]"
|
||||
fi
|
||||
|
||||
if [[ $WRAPPER == *"smi"* ]]; then
|
||||
$ECHO $device | $EGREP "^c[0-F]+([td][0-F]+)+$" > /dev/null 2>&1
|
||||
if (( $? == 0 )); then
|
||||
device=${device}s2
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Get all the cache devices and status table like below
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user