[ostree/wip/packfile-rebase2] tests: Add a repack test
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/wip/packfile-rebase2] tests: Add a repack test
- Date: Fri, 23 Mar 2012 00:32:02 +0000 (UTC)
commit 763dc803ee8c2aaff53c65425f1930f74b69fe49
Author: Colin Walters <walters verbum org>
Date: Thu Mar 22 08:24:10 2012 -0400
tests: Add a repack test
tests/t0000-basic.sh | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/tests/t0000-basic.sh b/tests/t0000-basic.sh
index 2d55e20..df27bfc 100755
--- a/tests/t0000-basic.sh
+++ b/tests/t0000-basic.sh
@@ -19,7 +19,7 @@
set -e
-echo "1..28"
+echo "1..31"
. libtest.sh
@@ -206,3 +206,14 @@ cmp union-files-count{,.new}
cd checkout-test2-union
assert_file_has_content ./yet/another/tree/green "leaf"
echo "ok checkout union 1"
+
+cd ${test_tmpdir}
+$OSTREE repack
+echo "ok repack"
+
+cd ${test_tmpdir}
+$OSTREE repack
+echo "ok repack again"
+
+$OSTREE checkout test2 checkout-test2-from-packed
+echo "ok checkout union 1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]