rpm-ostree/tests/vmcheck
Jonathan Lebon dc24dd3105 rollback: allow users to undo a rollback
The new API to find pending and rollback deployments do so relative to
the booted deployment. This caused an interesting behaviour: the first
time a user uses "rpm-ostree rollback", it would (as expected) move the
previous deployment first. but the second call to "rpm-ostree rollback"
would fail since there were now no more rollback deployments.

We fine tune the logic here to allow this, as well as the more general
case of putting the booted deployment back on top.

This fixes a subtle regression from b7cf58e
(https://github.com/projectatomic/rpm-ostree/pull/767).

Closes: https://github.com/projectatomic/rpm-ostree/issues/906

Closes: #907
Approved by: cgwalters
2017-08-03 14:43:16 +00:00
..
fetch-journal.sh vmcheck: prep for parallel runs 2017-03-13 00:42:13 +00:00
multitest.py vmcheck: Don't throw if test.sh fails early 2017-03-22 15:35:46 +00:00
overlay.sh vmcheck: fix sync and overlay 2017-08-03 14:43:16 +00:00
sync.sh vmsync: overlay /etc only if it exists 2017-08-03 14:43:16 +00:00
test-basic.sh rollback: allow users to undo a rollback 2017-08-03 14:43:16 +00:00
test-initramfs.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-basic.sh build_rpm: print out nevra rather than just name 2017-07-05 14:02:21 +00:00
test-layering-gpg.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-local.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-non-root-caps.sh vmcheck: fixes for CentOS 7 2017-07-18 13:58:38 +00:00
test-layering-relayer.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-rpmdb.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-scripts.sh Implement file triggers (%transfiletriggerin) for layered pkgs 2017-07-27 20:58:09 +00:00
test-layering-unified.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-livefs.sh vmcheck: fixes for CentOS 7 2017-07-18 13:58:38 +00:00
test-override-local-replace.sh app: support ex override replace for local RPMs 2017-07-05 20:59:35 +00:00
test-override-remove.sh app: support ex override replace for local RPMs 2017-07-05 20:59:35 +00:00
test.sh vmcheck: handle livefs reruns stronger 2017-07-05 14:02:21 +00:00