diff options
author | Colin Walters <walters@verbum.org> | 2013-07-15 16:13:12 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-07-15 16:13:12 -0400 |
commit | fb93b9580703fd73d7a3a44bb103fd31565fed1f (patch) | |
tree | b32412dab5fc4593691bec9b84a1109df95e19de /tests/test-admin-deploy-2.sh | |
parent | d5f1ce4e17348a36069bd37bb67c3e97bc24ab3c (diff) | |
download | ostree-fb93b9580703fd73d7a3a44bb103fd31565fed1f.tar.gz |
admin: Rename prune -> cleanup, avoid doing repo prune twice
Calling it "cleanup" is better since it does more than repo pruning.
We were also doing a prune twice; ot_admin_cleanup() already does one,
so drop the bits to do it in cleanup.c.
Diffstat (limited to 'tests/test-admin-deploy-2.sh')
-rwxr-xr-x | tests/test-admin-deploy-2.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-admin-deploy-2.sh b/tests/test-admin-deploy-2.sh index ab0bb9a1..d7ddf5f5 100755 --- a/tests/test-admin-deploy-2.sh +++ b/tests/test-admin-deploy-2.sh @@ -56,3 +56,9 @@ assert_has_dir sysroot/boot/ostree/testos-${bootcsum} assert_file_has_content sysroot/ostree/deploy/testos/deploy/${newrev}.0/etc/os-release 'NAME=TestOS' echo "ok deploy and GC /boot" + +ostree admin --sysroot=sysroot cleanup +assert_has_dir sysroot/boot/ostree/testos-${bootcsum} +assert_file_has_content sysroot/ostree/deploy/testos/deploy/${newrev}.0/etc/os-release 'NAME=TestOS' + +echo "ok manual cleanup" |