Skip to content

Commit

Permalink
tests: Use --parent=none rather than deleting the ref
Browse files Browse the repository at this point in the history
This is atomic. Not that it matters for this test, but let's have our tests use
ostree well.

Closes: #1037
Approved by: jlebon
  • Loading branch information
cgwalters authored and rh-atomic-bot committed Oct 5, 2017
1 parent 95227f0 commit f920f36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/vmcheck/overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ fi
rm -vrf vmcheck/usr/etc/selinux/targeted/semanage.*.LOCK
# ✀✀✀ END tmp hack

ostree refs --delete vmcheck || true
ostree commit -b vmcheck --link-checkout-speedup \
ostree commit --parent=none -b vmcheck --link-checkout-speedup \
--selinux-policy=vmcheck --tree=dir=vmcheck
ostree admin deploy vmcheck

0 comments on commit f920f36

Please sign in to comment.