mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
tests: clean out more temporary files
What remains is a bunch of anonymous untraceable /tmp/tmp.XXXXXXXXXX files and bak.root.receive.staff1.3835 from an error branch, testdir.1, testdir.3, and testroot454470 (with children) in testroot Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13259
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
. $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
|
||||
|
||||
USES_NIS=$(<$TEST_BASE_DIR/zfs-xattr-test-nis.txt)
|
||||
rm $TEST_BASE_DIR/zfs-xattr-test-nis.txt
|
||||
rm $TEST_BASE_DIR/zfs-xattr-test-nis.txt $TEST_BASE_DIR/zfs-xattr-test-user.txt
|
||||
|
||||
if [ "${USES_NIS}" == "true" ]
|
||||
then
|
||||
|
||||
@@ -50,8 +50,8 @@ verify_runnable "global"
|
||||
function cleanup {
|
||||
if ismounted /tmp/$NEWFS_DEFAULT_FS.$$ $NEWFS_DEFAULT_FS; then
|
||||
log_must umount /tmp/$NEWFS_DEFAULT_FS.$$
|
||||
log_must rm -rf /tmp/$NEWFS_DEFAULT_FS.$$
|
||||
fi
|
||||
log_must rm -rf /tmp/$NEWFS_DEFAULT_FS.$$
|
||||
}
|
||||
|
||||
log_assert "Files from $NEWFS_DEFAULT_FS with xattrs copied to zfs retain xattr info."
|
||||
|
||||
Reference in New Issue
Block a user