Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework devino caching to support invalidation if metadata changes #1170

Closed
wants to merge 8 commits into from
2 changes: 2 additions & 0 deletions tests/libtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ setup_test_repository () {
fi

cd ${test_tmpdir}
rm -rf repo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense, though FWIW I tend to do:

$ make check TESTS=tests/test-commit-sign.sh TEST_SKIP_CLEANUP=err
$ make && sudo make install
$ cd /var/tmp/tap-test.XXX...
$ ostree ...

if test -n "${mode}"; then
ostree_repo_init repo --mode=${mode}
else
Expand All @@ -152,6 +153,7 @@ setup_test_repository () {
cd ${test_tmpdir}
local oldumask="$(umask)"
umask 022
rm -rf files
mkdir files
cd files
ot_files=`pwd`
Expand Down