mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 19:50:25 +03:00
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:
parent
e1245d83e9
commit
a82a4a15be
@ -68,10 +68,6 @@ function cleanup
|
|||||||
log_must rm -rf $TESTDIR/* > /dev/null 2>&1
|
log_must rm -rf $TESTDIR/* > /dev/null 2>&1
|
||||||
fi
|
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 " \
|
log_assert "Verify an archive of a file system is identical to " \
|
||||||
|
@ -67,10 +67,6 @@ function cleanup
|
|||||||
log_must rm -rf $TESTDIR1/* > /dev/null 2>&1
|
log_must rm -rf $TESTDIR1/* > /dev/null 2>&1
|
||||||
fi
|
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 " \
|
log_assert "Verify that an archive of a dataset is identical to " \
|
||||||
|
Loading…
Reference in New Issue
Block a user