ZTS: remove dead cleanup code from snapshot tests

Caught during path cleanups, the files referenced do not appear to be
created or used anywhere.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: bunder2015 <omfgbunder@gmail.com>
Closes #7508
This commit is contained in:
bunder2015 2018-05-07 00:02:10 -04:00 committed by Brian Behlendorf
parent e1245d83e9
commit a82a4a15be
2 changed files with 0 additions and 8 deletions

View File

@ -68,10 +68,6 @@ function cleanup
log_must rm -rf $TESTDIR/* > /dev/null 2>&1
fi
if [[ -e /tmp/zfs_snapshot2.$$ ]]; then
log_must rm -rf /tmp/zfs_snapshot2.$$ > /dev/null 2>&1
fi
}
log_assert "Verify an archive of a file system is identical to " \

View File

@ -67,10 +67,6 @@ function cleanup
log_must rm -rf $TESTDIR1/* > /dev/null 2>&1
fi
if [[ -e /tmp/zfs_snapshot2.$$ ]]; then
log_must rm -rf /tmp/zfs_snapshot2.$$ > /dev/null 2>&1
fi
}
log_assert "Verify that an archive of a dataset is identical to " \