diff --git a/manual-tests/static-delta-generate-crosscheck.sh b/manual-tests/static-delta-generate-crosscheck.sh index fd8f2189..2eea3ff2 100755 --- a/manual-tests/static-delta-generate-crosscheck.sh +++ b/manual-tests/static-delta-generate-crosscheck.sh @@ -42,11 +42,11 @@ assert_streq() { } validate_delta_options() { - mkdir testrepo - ostree_repo_init testrepo --mode=bare-user + ostree --repo=testrepo init --mode=bare-user ostree --repo=testrepo remote add --set=gpg-verify=false local file://${repo} ostree --repo=${repo} static-delta generate $@ --from=${from} --to=${to} - ostree --repo=testrepo pull --require-static-deltas local ${branch}@${from} + ostree --repo=${repo} summary -u + ostree --repo=testrepo pull local ${branch}@${from} assert_streq $(ostree --repo=testrepo rev-parse ${branch}) ${from} ostree --repo=testrepo pull --require-static-deltas local ${branch} assert_streq $(ostree --repo=testrepo rev-parse ${branch}) ${to} diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c index 41cd347e..19272984 100644 --- a/src/libostree/ostree-repo-static-delta-compilation.c +++ b/src/libostree/ostree-repo-static-delta-compilation.c @@ -651,8 +651,8 @@ try_content_rollsum (OstreeRepo *repo, if (opts & DELTAOPT_FLAG_VERBOSE) { - g_printerr ("rollsum for %s; crcs=%u bufs=%u total=%u matchsize=%llu\n", - to, matches->crcmatches, + g_printerr ("rollsum for %s -> %s; crcs=%u bufs=%u total=%u matchsize=%llu\n", + from, to, matches->crcmatches, matches->bufmatches, matches->total, (unsigned long long)matches->match_size); } diff --git a/src/libostree/ostree-repo-static-delta-processing.c b/src/libostree/ostree-repo-static-delta-processing.c index 87b5c8c9..4545b39f 100644 --- a/src/libostree/ostree-repo-static-delta-processing.c +++ b/src/libostree/ostree-repo-static-delta-processing.c @@ -711,7 +711,7 @@ dispatch_write (OstreeRepo *repo, GCancellable *cancellable, GError **error) { - GLNX_AUTO_PREFIX_ERROR("opcode open-splice-and-close", error); + GLNX_AUTO_PREFIX_ERROR("opcode write", error); guint64 content_size; guint64 content_offset; @@ -816,7 +816,7 @@ dispatch_close (OstreeRepo *repo, GCancellable *cancellable, GError **error) { - GLNX_AUTO_PREFIX_ERROR("opcode open-splice-and-close", error); + GLNX_AUTO_PREFIX_ERROR("opcode close", error); if (state->content_out) {