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 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,54 ****
if ! verify_slog_support ; then
log_unsupported "This system doesn't support separate intent logs"
fi
if datasetexists $TESTPOOL ; then
! log_must $ZPOOL destroy -f $TESTPOOL
fi
if datasetexists $TESTPOOL2 ; then
! log_must $ZPOOL destroy -f $TESTPOOL2
fi
if [[ -d $VDIR ]]; then
! log_must $RM -rf $VDIR
fi
if [[ -d $VDIR2 ]]; then
! log_must $RM -rf $VDIR2
fi
log_pass
--- 37,54 ----
if ! verify_slog_support ; then
log_unsupported "This system doesn't support separate intent logs"
fi
if datasetexists $TESTPOOL ; then
! log_must zpool destroy -f $TESTPOOL
fi
if datasetexists $TESTPOOL2 ; then
! log_must zpool destroy -f $TESTPOOL2
fi
if [[ -d $VDIR ]]; then
! log_must rm -rf $VDIR
fi
if [[ -d $VDIR2 ]]; then
! log_must rm -rf $VDIR2
fi
log_pass