From: Colin Walters Date: Fri, 1 Dec 2017 01:43:02 +0000 (-0500) Subject: tests/delta-crosscheck: Disable fsync X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~29^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=277ce6b36dc05dbdfa3a01fccdcc3f7493d70e78;p=ostree.git 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 --- diff --git a/manual-tests/static-delta-generate-crosscheck.sh b/manual-tests/static-delta-generate-crosscheck.sh index 2eea3ff2..a9335007 100755 --- a/manual-tests/static-delta-generate-crosscheck.sh +++ b/manual-tests/static-delta-generate-crosscheck.sh @@ -43,6 +43,7 @@ assert_streq() { validate_delta_options() { 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=${repo} static-delta generate $@ --from=${from} --to=${to} ostree --repo=${repo} summary -u