[ostree/wip/archive-v3: 1/10] tests: Actually test pack functionality



commit 3a847a571b9c6ff583295cfb1a5d667b24f1dcc0
Author: Colin Walters <walters verbum org>
Date:   Wed Apr 11 19:48:22 2012 -0400

    tests: Actually test pack functionality
    
    With --keep-loose we were just using the loose objects.

 tests/t0001-archive.sh |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/tests/t0001-archive.sh b/tests/t0001-archive.sh
index 4712732..e7b2a7e 100755
--- a/tests/t0001-archive.sh
+++ b/tests/t0001-archive.sh
@@ -21,7 +21,7 @@ set -e
 
 . libtest.sh
 
-echo '1..19'
+echo '1..18'
 
 setup_test_repository "archive"
 echo "ok setup"
@@ -69,7 +69,7 @@ assert_file_has_content cow-contents "moo"
 echo "ok cat-file"
 
 cd ${test_tmpdir}
-$OSTREE pack --keep-loose
+$OSTREE pack
 echo "ok pack"
 
 cd ${test_tmpdir}
@@ -80,10 +80,6 @@ $OSTREE checkout test2 checkout-test2-from-packed
 echo "ok checkout union 1"
 
 cd ${test_tmpdir}
-$OSTREE pack
-echo "ok pack delete loose"
-
-cd ${test_tmpdir}
 $OSTREE fsck
 echo "ok fsck"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]