ostree/tests
Colin Walters 5becd5ccad Teach fsck about partial commits
An OSTree user noticed that `ostree fsck` would produce `missing
object` errors in the case of interrupted pulls.

It's possible to do e.g. `ostree pull --subpath=/usr/share/rpm ...`,
which gets you just that portion of the commit.  The use case for this
was being able to see what changes would appear in an update before
actually downloading all of it.

(I think this would be better covered by static deltas, but those
 aren't final yet, and `--subpath` predates it)

Further, `.commitpartial` is used as a successor to the `transaction`
symlink for more precise knowledge in the case where a pull was
interrupted that we needed to resume scanning.

So it makes sense for `ostree fsck` to be aware of it.
2015-05-06 08:07:20 -04:00
..
gpg-verify-data gpg: Regenerate test data for test-gpg-verify-result 2015-03-19 12:43:04 -04:00
gpghome tests: Update test-gpg-signed-commit.sh 2015-03-18 11:53:26 -04:00
.gitignore Add support for pulling from remote archives 2011-10-31 20:28:47 -04:00
admin-test.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
archive-test.sh tests: Pull from file:/// only works with archive-z right now 2013-07-02 11:24:07 -04:00
basic-test.sh ostree_repo_checkout_tree_at: New API for checkouts 2015-04-07 15:12:16 -04:00
corrupt-repo-ref.js corrupt-repo-ref.js: more aggressive file corruption 2014-10-22 20:02:06 +02:00
libtest.sh tests: Update test-gpg-signed-commit.sh 2015-03-18 11:53:26 -04:00
ostree-valgrind.supp core: Check out asynchronously 2012-06-21 18:05:13 -04:00
pull-test.sh pull: Optimize file:/// URIs to skip libsoup and hardlink if possible 2015-02-06 10:02:57 -05:00
test-admin-deploy-2.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-admin-deploy-etcmerge-cornercases.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-admin-deploy-grub2.sh libostree: Add initial GRUB2 support 2014-10-16 14:15:00 -04:00
test-admin-deploy-karg.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-admin-deploy-switch.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-admin-deploy-syslinux.sh Unify uboot and syslinux test cases 2014-01-15 09:48:04 -05:00
test-admin-deploy-uboot.sh Unify uboot and syslinux test cases 2014-01-15 09:48:04 -05:00
test-admin-instutil-set-kargs.sh Add test case for 'admin instutil set-kargs' 2014-09-26 11:55:11 -04:00
test-admin-locking.sh sysroot: Add an API to lock 2015-05-05 08:52:44 -04:00
test-admin-upgrade-not-backwards.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-admin-upgrade-unconfigured.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-archivez.sh pull: Verify commits with gpg signatures from detached metadata 2013-09-29 14:49:47 -04:00
test-auto-summary.sh test-auto-summary.sh properly quote arguments to assert_streq 2015-04-24 15:46:28 +02:00
test-basic-user.sh Add test-basic-user.sh testing for bare-user repos 2014-12-08 10:39:44 +01:00
test-basic.sh Split out basic tests from test-basic.sh 2014-12-08 10:39:44 +01:00
test-bsdiff.c tests: add test for bsdiff 2015-03-03 12:16:17 -05:00
test-commit-sign.sh pull: Always request detached metadata for commits 2015-04-23 19:57:10 -04:00
test-core.js test-core.js: Add standard copyright header 2013-09-18 16:34:57 -04:00
test-corruption.sh main: Add --delete option to fsck 2013-07-18 12:09:44 -04:00
test-delta.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-gpg-signed-commit.sh show: add option --gpg-homedir 2015-04-27 15:22:41 +02:00
test-gpg-verify-result.c gpg: Regenerate test data for test-gpg-verify-result 2015-03-19 12:43:04 -04:00
test-help.sh Replace "==" with "=" in shell script test 2015-01-30 15:27:36 +01:00
test-keyfile-utils.c keyfile-utils: add tests 2015-03-06 18:45:37 +01:00
test-libarchive.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-local-pull.sh test-local-pull: Sort find output to make test robust 2014-12-08 20:28:09 +01:00
test-mutable-tree.c core: Fix possible crash in ostree_mutable_tree_walk() 2015-03-31 13:04:31 -04:00
test-oldstyle-partial.sh Teach fsck about partial commits 2015-05-06 08:07:20 -04:00
test-ot-opt-utils.c tests: add test for test-ot-opt-utils. 2015-03-06 18:45:38 +01:00
test-ot-tool-util.c tests: Add tests for test-ot-tool-util 2015-03-06 18:45:38 +01:00
test-ot-unix-utils.c tests: Add tests for ot-unix-utils 2015-02-02 17:42:41 +01:00
test-pull-archive-z.sh tests: Drop numeric prefix 2013-07-09 10:41:07 -04:00
test-pull-corruption.sh Limit metadata to 10 MiB 2014-05-27 14:15:27 -04:00
test-pull-depth.sh pull: Add depth support 2014-10-28 11:16:55 -04:00
test-pull-large-metadata.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-pull-metalink.sh pull-metalink: Don't print error output when we expect failure 2015-04-10 17:51:13 -04:00
test-pull-mirror-summary.sh pull: Copy the upstream summary file when doing a pull --mirror 2015-02-05 21:24:21 -05:00
test-pull-resume.sh tests: Verify that the pull error was from interruption 2015-04-06 14:33:16 -04:00
test-pull-subpath.sh tests: enforce ${CMD_PREFIX} on all ostree processes 2015-03-03 18:32:24 -05:00
test-remote-add.sh syntax-check: Remove empty lines at the end of file 2015-02-02 15:07:56 +01:00
test-repo-checkout-subpath.sh checkout: permit checkout of a single file 2014-10-24 11:18:45 -04:00
test-reset-nonlinear.sh reset: Don't enforce parent commits 2015-04-15 07:12:20 -04:00
test-rollsum.c deltas: Make syntax-check happy 2015-02-16 10:10:35 -05:00
test-setuid.sh core: Don't strip setuid bits when creating files 2013-07-18 14:23:55 -04:00
test-sizes.js core: Add size information to commit metadata 2013-10-19 11:56:51 -04:00
test-sysroot.js tests: Fix two bugs in tests revealed by new remote changes 2014-12-17 10:43:01 -05:00
test-varint.c Initial basic static delta code drop 2014-02-04 10:31:44 -05:00
test-xattrs.sh test-xattrs: Skip if current FS doesn't support user_xattr 2013-08-14 20:46:46 +02:00