tests/delta-crosscheck: Disable fsync
authorColin Walters <walters@verbum.org>
Fri, 1 Dec 2017 01:43:02 +0000 (20:43 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 1 Dec 2017 15:09:14 +0000 (15:09 +0000)
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

manual-tests/static-delta-generate-crosscheck.sh

index 2eea3ff25f7f963ec7bd9f3efaaf6fe8944890f9..a9335007a4290d60ca3bd2d2383a38bfe87bc79e 100755 (executable)
@@ -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