Skip to content

Commit

Permalink
merge branch 'pr-202'
Browse files Browse the repository at this point in the history
  test: correct test for --refresh-bundle

LGTMs: @cyphar
Closes #202
  • Loading branch information
cyphar committed Oct 24, 2017
2 parents aaa2d70 + a7d1a83 commit 8de2651
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/repack.bats
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,8 @@ function teardown() {

# Repack under a new tag again, without refreshing the metadata.
umoci repack --image "${IMAGE}:${TAG}-new2" "$BUNDLE_A"
[ "$status" -eq 0 ]
image-verify "${IMAGE}"

# Unpack it again into a new bundle.
umoci unpack --image "${IMAGE}:${TAG}-new2" "$BUNDLE_C"
Expand Down Expand Up @@ -723,4 +725,4 @@ function teardown() {
# Number of lines should be greater.
[ "$numLinesB" -gt "$numLinesA" ]
[ "$numLinesC" -gt "$numLinesB" ]
}
}

0 comments on commit 8de2651

Please sign in to comment.