From: Eric Sandeen Date: Fri, 19 Feb 2010 15:34:33 +0000 (-0600) Subject: xfstests: don't delete scratch loop device w/ umount -d X-Git-Tag: v1.1.0~188 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f2e62aadc3ec40b47b2a1c7f9a15a4a3e188e8dc;p=xfstests-dev.git 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 Reviewed-by: Christoph Hellwig --- diff --git a/073 b/073 index 90fa1f0a..7ce6efb7 100755 --- a/073 +++ b/073 @@ -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 }