Skip to content

Commit 5b6b257

Browse files
committed
Disabled two devices tests since devices are not to be supported on FreeBSD
1 parent 31a4ad3 commit 5b6b257

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

tests/zfs-tests/tests/functional/devices/devices_001_pos.ksh

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848

4949
verify_runnable "global"
5050

51+
if is_freebsd; then
52+
log_unsupported "Devices setting not supported on FreeBSD"
53+
fi
54+
5155
log_assert "Setting devices=on on file system, the devices files in this file" \
5256
"system can be used."
5357
log_onexit cleanup

tests/zfs-tests/tests/functional/devices/devices_002_neg.ksh

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848

4949
verify_runnable "global"
5050

51+
if is_freebsd; then
52+
log_unsupported "Devices setting not supported on FreeBSD"
53+
fi
54+
5155
log_assert "Setting devices=off on file system, the devices files in this file"\
5256
"system can not be used."
5357
log_onexit cleanup

tests/zfs-tests/tests/functional/reservation/reservation_013_pos.sh

-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ log_must zfs set reservation=$resv_set $TESTPOOL/$TESTFS1
9191
log_must zfs set reservation=$resv_set $TESTPOOL/$TESTFS1/$TESTFS2
9292
log_must zfs set reservation=$resv_set $TESTPOOL/$TESTVOL2
9393

94-
if is_freebsd; then
95-
sleep 3
96-
fi
9794
log_must zpool export $TESTPOOL
9895
log_must zpool import $TESTPOOL
9996

0 commit comments

Comments
 (0)