[sheepdog] [PATCH stable-0.8 6/9] tests/084: add sheepfs http rm test

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Mar 6 08:12:41 CET 2014


From: Robin Dong <sanbai at taobao.com>

Signed-off-by: Robin Dong <sanbai at taobao.com>
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 tests/functional/084     |    4 ++++
 tests/functional/084.out |    3 +++
 2 files changed, 7 insertions(+)

diff --git a/tests/functional/084 b/tests/functional/084
index f95bd95..2ace2d7 100755
--- a/tests/functional/084
+++ b/tests/functional/084
@@ -47,4 +47,8 @@ for i in 3 7 19 37 57 97; do
 	diff -u $STORE/data$i $STORE/sheepfs/http/sd/sheep/data$i
 done
 
+# remove local entries
+rm -rf $STORE/sheepfs/http/sd/
+find $STORE/sheepfs/http/ | sort
+
 umount $STORE/sheepfs
diff --git a/tests/functional/084.out b/tests/functional/084.out
index 48147c1..43569c8 100644
--- a/tests/functional/084.out
+++ b/tests/functional/084.out
@@ -1,2 +1,5 @@
 QA output created by 084
 using backend plain store
+/tmp/sheepdog/084/sheepfs/http/
+/tmp/sheepdog/084/sheepfs/http/address
+/tmp/sheepdog/084/sheepfs/http/object
-- 
1.7.10.4




More information about the sheepdog mailing list