[sheepdog] [PATCH 1/2] tests: add check of stale object cleanup to 032 and 033
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Sun Aug 26 09:54:41 CEST 2012
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
tests/032 | 1 +
tests/032.out | 15 +++++++++++++++
tests/033 | 1 +
tests/033.out | 15 +++++++++++++++
4 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/tests/032 b/tests/032
index 4611e02..094ec13 100755
--- a/tests/032
+++ b/tests/032
@@ -51,5 +51,6 @@ ls $STORE/*/obj/807c2b2500000000 | sort
for i in `seq 0 24`; do
ls $STORE/*/obj/007c2b25000000`printf "%02x" $i` | sort
done
+ls $STORE/*/obj/.stale | sort
$COLLIE vdi read test | md5sum
diff --git a/tests/032.out b/tests/032.out
index 9208b20..ea91f6d 100644
--- a/tests/032.out
+++ b/tests/032.out
@@ -79,4 +79,19 @@ using backend farm store
/tmp/sheepdog/0/obj/007c2b2500000018
/tmp/sheepdog/1/obj/007c2b2500000018
/tmp/sheepdog/5/obj/007c2b2500000018
+
+
+
+
+
+
+
+/tmp/sheepdog/0/obj/.stale:
+/tmp/sheepdog/1/obj/.stale:
+/tmp/sheepdog/2/obj/.stale:
+/tmp/sheepdog/3/obj/.stale:
+/tmp/sheepdog/4/obj/.stale:
+/tmp/sheepdog/5/obj/.stale:
+/tmp/sheepdog/6/obj/.stale:
+/tmp/sheepdog/7/obj/.stale:
9c7766570b3be3aff2724f587c2f4107 -
diff --git a/tests/033 b/tests/033
index 9bc3818..e5355b0 100755
--- a/tests/033
+++ b/tests/033
@@ -55,5 +55,6 @@ ls $STORE/*/obj/807c2b2500000000 | sort
for i in `seq 0 24`; do
ls $STORE/*/obj/007c2b25000000`printf "%02x" $i` | sort
done
+ls $STORE/*/obj/.stale | sort
$COLLIE vdi read test | md5sum
diff --git a/tests/033.out b/tests/033.out
index 656ca1e..e9fa303 100644
--- a/tests/033.out
+++ b/tests/033.out
@@ -79,4 +79,19 @@ using backend farm store
/tmp/sheepdog/0/obj/007c2b2500000018
/tmp/sheepdog/1/obj/007c2b2500000018
/tmp/sheepdog/5/obj/007c2b2500000018
+
+
+
+
+
+
+
+/tmp/sheepdog/0/obj/.stale:
+/tmp/sheepdog/1/obj/.stale:
+/tmp/sheepdog/2/obj/.stale:
+/tmp/sheepdog/3/obj/.stale:
+/tmp/sheepdog/4/obj/.stale:
+/tmp/sheepdog/5/obj/.stale:
+/tmp/sheepdog/6/obj/.stale:
+/tmp/sheepdog/7/obj/.stale:
9c7766570b3be3aff2724f587c2f4107 -
--
1.7.2.5
More information about the sheepdog
mailing list