1#!/bin/ksh -p
2#
3# CDDL HEADER START
4#
5# The contents of this file are subject to the terms of the
6# Common Development and Distribution License (the "License").
7# You may not use this file except in compliance with the License.
8#
9#!/bin/ksh -p
10#
11# CDDL HEADER START
12#
13# This file and its contents are supplied under the terms of the
14# Common Development and Distribution License ("CDDL"), version 1.0.
15# You may only use this file in accordance with the terms of version
16# 1.0 of the CDDL.
17#
18# A full copy of the text of the CDDL should have accompanied this
19# source.  A copy of the CDDL is also available via the Internet at
20# http://www.illumos.org/license/CDDL.
21#
22# CDDL HEADER END
23#
24
25#
26# Copyright (c) 2019 by Tim Chase. All rights reserved.
27# Copyright (c) 2019 Lawrence Livermore National Security, LLC.
28#
29
30. $STF_SUITE/include/libtest.shlib
31
32verify_runnable "global"
33
34if poolexists $TESTPOOL; then
35	destroy_pool $TESTPOOL
36fi
37
38if poolexists $TESTPOOL1; then
39	destroy_pool $TESTPOOL1
40fi
41
42TRIM_DIR="$TEST_BASE_DIR"
43TRIM_VDEVS="$TRIM_DIR/trim-vdev1 $TRIM_DIR/trim-vdev2 \
44    $TRIM_DIR/trim-vdev3 $TRIM_DIR/trim-vdev4"
45
46rm -rf $TRIM_VDEVS
47
48default_cleanup
49