@@ -24,6 +24,7 @@ _begin_fstest auto quick attr metadata log
_cleanup()
{
_cleanup_flakey
+ cd /
rm -f $tmp.*
}
@@ -88,5 +89,7 @@ _flakey_drop_and_remount
echo "xattr names and values after second fsync log replay:"
_getfattr --absolute-names --dump $SCRATCH_MNT/foobar | _filter_scratch
+_unmount_flakey
+
status=0
exit
@@ -13,6 +13,8 @@ _begin_fstest auto quick metadata log
_cleanup()
{
_cleanup_flakey
+ cd /
+ rm -f $tmp.*
}
# Import common functions.
@@ -57,7 +59,7 @@ _rename_test()
$XFS_IO_PROG -c "fsync" $SCRATCH_MNT/bar
$XFS_IO_PROG -c "fsync" $SCRATCH_MNT/bar/foo
- _flakey_drop_and_remount\
+ _flakey_drop_and_remount
_ls_l $SCRATCH_MNT | tail -n +2 | awk '{ print $1, $9 }'
_ls_l $SCRATCH_MNT/bar | tail -n +2 | awk '{ print $1, $9 }'
@@ -11,6 +11,13 @@
. ./common/preamble
_begin_fstest shutdown auto log metadata
+_cleanup()
+{
+ _cleanup_flakey
+ cd /
+ rm -f $tmp.*
+}
+
# Import common functions.
. ./common/dmflakey