File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
tests/zfs-tests/tests/functional/cli_root Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 27
27
. $STF_SUITE /include/libtest.shlib
28
28
. $STF_SUITE /tests/functional/cli_root/zpool_add/zpool_add.kshlib
29
29
30
- typeset TMPFILE_PREFIX=" $TEST_BASE_DIR /zpool_add_dryrun_output"
31
30
typeset STR_DRYRUN=" would update '$TESTPOOL ' to the following configuration:"
32
31
typeset VDEV_PREFIX=" $TEST_BASE_DIR /filedev"
33
32
@@ -136,7 +135,7 @@ verify_runnable "global"
136
135
function cleanup
137
136
{
138
137
destroy_pool " $TESTPOOL "
139
- rm -f " $TMPFILE_PREFIX " * " $ VDEV_PREFIX" *
138
+ rm -f " $VDEV_PREFIX " *
140
139
}
141
140
142
141
log_assert " 'zpool add -n <pool> <vdev> ...' can display the configuration"
Original file line number Diff line number Diff line change 27
27
. $STF_SUITE /include/libtest.shlib
28
28
. $STF_SUITE /tests/functional/cli_root/zpool_create/zpool_create.shlib
29
29
30
- typeset TMPFILE_PREFIX=" $TEST_BASE_DIR /zpool_create_dryrun_output"
31
30
typeset STR_DRYRUN=" would create '$TESTPOOL ' with the following layout:"
32
31
typeset VDEV_PREFIX=" $TEST_BASE_DIR /filedev"
33
32
@@ -112,13 +111,12 @@ verify_runnable "global"
112
111
113
112
function cleanup
114
113
{
115
- rm -f " $TMPFILE_PREFIX " * " $ VDEV_PREFIX" *
114
+ rm -f " $VDEV_PREFIX " *
116
115
}
117
116
118
117
log_assert " 'zpool add -n <pool> <vdev> ...' can display the configuration"
119
118
120
119
log_onexit cleanup
121
- typeset disk1=$( create_blockfile $FILESIZE )
122
120
123
121
# Create needed file vdevs.
124
122
for (( i= 0 ; i < ${# dev[@]} ; i+= 1 )) ; do
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ verify_runnable "global"
118
118
function cleanup
119
119
{
120
120
destroy_pool " $TESTPOOL "
121
+ rm -f " $VDEV_PREFIX " *
121
122
}
122
123
123
124
log_assert \
You can’t perform that action at this time.
0 commit comments