[ostree] tests: Add a test for link checkout speedup
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] tests: Add a test for link checkout speedup
- Date: Wed, 17 Jul 2013 23:47:52 +0000 (UTC)
commit a40b09310cee1098dfe8ae939fad5045a58c7dcc
Author: Colin Walters <walters verbum org>
Date: Wed Jul 17 19:47:40 2013 -0400
tests: Add a test for link checkout speedup
tests/test-basic.sh | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-basic.sh b/tests/test-basic.sh
index a58a1fd..bb38434 100755
--- a/tests/test-basic.sh
+++ b/tests/test-basic.sh
@@ -19,7 +19,7 @@
set -e
-echo "1..34"
+echo "1..35"
. $(dirname $0)/libtest.sh
@@ -253,4 +253,9 @@ ostree --repo=repo refs > reflist
assert_not_file_has_content reflist '^test3$'
echo "ok reflist --delete"
+cd ${test_tmpdir}
+rm -rf test2-checkout
+$OSTREE checkout test2 test2-checkout
+(cd test2-checkout && $OSTREE commit --link-checkout-speedup -b test2 -s "tmp")
+echo "ok commit with link speedup"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]