ostree/tests
Colin Walters 8abad0b452 admin: Write out correct version fields in boot/loader/entries files
Before, we were writing the "bootversion", which is either 0 or 1, for
all entries.  This is completely wrong; the idea of the "version"
field is to compare between entries.

Fix this by writing out the inverted index - internally, index 0 is
the *first* boot entry, so we give it the highest version number, and
index N is the last, so give it version 0.

Then fix the deployment sorting code to correctly reverse the version
number comparison, so we read back the right order.

In practice before this bug didn't matter because "normally" you only
have at most two deployments.

https://bugzilla.gnome.org/show_bug.cgi?id=706546
2013-08-22 05:46:11 -04:00
..
.gitignore Add support for pulling from remote archives 2011-10-31 20:28:47 -04:00
archive-test.sh tests: Pull from file:/// only works with archive-z right now 2013-07-02 11:24:07 -04:00
libtest.sh test: fix a trivial typo in libtests.sh 2013-08-20 06:46:52 -04:00
ostree-valgrind.supp core: Check out asynchronously 2012-06-21 18:05:13 -04:00
pull-test.sh Fix test reference to obsolete ostree-pull 2013-07-09 09:28:02 -04:00
test-admin-deploy-1.sh admin: Write out correct version fields in boot/loader/entries files 2013-08-22 05:46:11 -04:00
test-admin-deploy-2.sh admin: Rename prune -> cleanup, avoid doing repo prune twice 2013-07-15 16:13:12 -04:00
test-archivez.sh tests: Drop numeric prefix 2013-07-09 10:41:07 -04:00
test-basic.sh Add 'ostree reset' command to undo a bad commit 2013-08-16 17:28:43 +02:00
test-corruption.sh main: Add --delete option to fsck 2013-07-18 12:09:44 -04:00
test-libarchive.sh tests: Drop numeric prefix 2013-07-09 10:41:07 -04:00
test-pull-archive-z.sh tests: Drop numeric prefix 2013-07-09 10:41:07 -04:00
test-pull-corruption.sh tests: Add a test of corruption during a pull process 2013-07-09 11:28:49 -04:00
test-remote-add.sh tests: Drop numeric prefix 2013-07-09 10:41:07 -04:00
test-setuid.sh core: Don't strip setuid bits when creating files 2013-07-18 14:23:55 -04:00
test-xattrs.sh test-xattrs: Skip if current FS doesn't support user_xattr 2013-08-14 20:46:46 +02:00