xfstests: don't delete scratch loop device w/ umount -d

Recent fixes to 073 added umount -d, but if we happen
to be using a scratch device on loopback, subsequent
tests get very, very unhappy when their loopback block
device goes away!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Eric Sandeen
2010-02-19 09:34:33 -06:00
parent 3839d29973
commit f2e62aadc3
+2 -1
View File
@@ -119,7 +119,8 @@ _verify_copy()
diff -u $tmp.geometry1 $tmp.geometry2
echo unmounting and removing new image
umount -d $source_dir $target_dir
umount $source_dir
umount -d $target_dir
rm -f $target
}