[sheepdog] [PATCH 1/7] test: fix 011 to umount the right mountpoint

Liu Yuan namei.unix at gmail.com
Mon Aug 13 10:13:58 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/011 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/011 b/tests/011
index 973279e..4059624 100755
--- a/tests/011
+++ b/tests/011
@@ -18,8 +18,8 @@ _cleanup_devices()
     killall -9 sheep collie >/dev/null 2>&1 || true
     sleep 2
     for i in 0 1 2; do
-        umount $STORE/$i.img
-	rm -f $STORE/$i.img
+        umount $STORE/$i
+        rm -f $STORE/$i.img
     done
 }
 
-- 
1.7.10.2




More information about the sheepdog mailing list