Skip to content

Commit

Permalink
fixup! lib/pull: Only skip scratch deltas when normal commit is reach…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
dbnicholson committed Feb 13, 2020
1 parent aeaca9b commit b6a5c4e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/pull-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -640,14 +640,6 @@ if ${CMD_PREFIX} ostree --repo=repo pull origin scratch 2>err.txt; then
assert_not_reached "pull of corrupt scratch delta unexpectedly succeeded"
fi
assert_file_has_content err.txt "Invalid checksum for static delta"
# Pull with no existing ref. This should fail because it tries to pull the
# scratch delta.
repo_init --no-gpg-verify
if ${CMD_PREFIX} ostree --repo=repo pull origin scratch 2>err.txt; then
assert_not_reached "pull of corrupt scratch delta unexpectedly succeeded"
fi
assert_file_has_content err.txt "Invalid checksum for static delta"
echo "ok scratch delta (no existing ref)"
# Pull with a partial HEAD ref. This should fail because it tries to pull the
Expand Down

0 comments on commit b6a5c4e

Please sign in to comment.