mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-03 05:18:24 +03:00
tests/delta-crosscheck: Disable fsync
I was running this recently to test the last delta write changes, and this helps. We should add an option to repo-init to make this easier at some point. Closes: #1356 Approved by: jlebon
This commit is contained in:
parent
17308e2149
commit
277ce6b36d
@ -43,6 +43,7 @@ assert_streq() {
|
|||||||
|
|
||||||
validate_delta_options() {
|
validate_delta_options() {
|
||||||
ostree --repo=testrepo init --mode=bare-user
|
ostree --repo=testrepo init --mode=bare-user
|
||||||
|
echo 'fsync=false' >> testrepo/config
|
||||||
ostree --repo=testrepo remote add --set=gpg-verify=false local file://${repo}
|
ostree --repo=testrepo remote add --set=gpg-verify=false local file://${repo}
|
||||||
ostree --repo=${repo} static-delta generate $@ --from=${from} --to=${to}
|
ostree --repo=${repo} static-delta generate $@ --from=${from} --to=${to}
|
||||||
ostree --repo=${repo} summary -u
|
ostree --repo=${repo} summary -u
|
||||||
|
Loading…
Reference in New Issue
Block a user