]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: zpool_split_indirect deletes zfstest log file
authorJohn Wren Kennedy <john.kennedy@delphix.com>
Thu, 14 May 2020 16:39:47 +0000 (10:39 -0600)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 16:39:47 +0000 (09:39 -0700)
commite1fcd940e7a550e0631fb7e80c5df6d84c446d28
treee3a079507048d2ad34738ef4c87c6a656d8e943b
parent41035a049643ff7083a6cb6cd43b8eb70a7d18a1
ZTS: zpool_split_indirect deletes zfstest log file

The cleanup routine for this test attempts to remove some temporary
files with `rm -f $VDEV_*`, but VDEV_ is undefined. As a result, all
files in the current working directory (/var/tmp/test_results/current)
get removed instead. This includes the complete log file of all tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: George Amanakis <gamanakis@gmail.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: John Kennedy <john.kennedy@delphix.com>
Closes #10324
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_indirect.ksh