Print this page
7290 ZFS test suite needs to control what utilities it can run
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
*** 24,34 ****
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
! # Copyright (c) 2013, 2015 by Delphix. All rights reserved.
#
. $STF_SUITE/include/libtest.shlib
. $STF_SUITE/tests/functional/slog/slog.cfg
--- 24,34 ----
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
! # Copyright (c) 2013, 2016 by Delphix. All rights reserved.
#
. $STF_SUITE/include/libtest.shlib
. $STF_SUITE/tests/functional/slog/slog.cfg
*** 37,50 ****
if ! verify_slog_support ; then
log_unsupported "This system doesn't support separate intent logs"
fi
if [[ -d $VDEV ]]; then
! log_must $RM -rf $VDIR
fi
if [[ -d $VDEV2 ]]; then
! log_must $RM -rf $VDIR2
fi
! log_must $MKDIR -p $VDIR $VDIR2
! log_must $MKFILE $MINVDEVSIZE $VDEV $SDEV $LDEV $VDEV2 $SDEV2 $LDEV2
log_pass
--- 37,50 ----
if ! verify_slog_support ; then
log_unsupported "This system doesn't support separate intent logs"
fi
if [[ -d $VDEV ]]; then
! log_must rm -rf $VDIR
fi
if [[ -d $VDEV2 ]]; then
! log_must rm -rf $VDIR2
fi
! log_must mkdir -p $VDIR $VDIR2
! log_must mkfile $MINVDEVSIZE $VDEV $SDEV $LDEV $VDEV2 $SDEV2 $LDEV2
log_pass