diff options
Diffstat (limited to 'tests/zfs-tests/include/blkdev.shlib')
-rw-r--r-- | tests/zfs-tests/include/blkdev.shlib | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/zfs-tests/include/blkdev.shlib b/tests/zfs-tests/include/blkdev.shlib index 5a750bf1b..2269131a4 100644 --- a/tests/zfs-tests/include/blkdev.shlib +++ b/tests/zfs-tests/include/blkdev.shlib @@ -89,8 +89,8 @@ function block_device_wait # function is_physical_device #device { - typeset device=${1#$DEV_DSKDIR} - device=${device#$DEV_RDSKDIR} + typeset device=${1#$DEV_DSKDIR/} + device=${device#$DEV_RDSKDIR/} if is_linux; then is_disk_device "$DEV_DSKDIR/$device" && \ @@ -216,9 +216,6 @@ function set_slice_prefix fi (( i = i + 1)) done - elif is_freebsd; then - export SLICE_PREFIX="p" - return 0 fi } |