ostree/tests
Colin Walters c2aabcac3b ostree_repo_checkout_tree_at: New API for checkouts
rpm-ostree currently uses ostree_repo_checkout_tree(), which as a side
effect will use the uncompressed objects cache by default.  This is
rather annoying if you're using rpm-ostree on a server-side
repository, because if you then rsync the repo, you'll be syncing out
the uncompressed objects unless you exclude them.

We added the ability to disable the uncompressed cache in the
repository config to fix this, but it's better to allow application
control over this.  The uncompressed cache will in some future version
become opt in as well.

This new API further:
 - Drops the `GFile` usage in favor of `openat` APIs
 - Improves ergonomics by avoiding callers having to query the source
   `GFileInfo` (and carry around a copy of `OSTREE_GIO_FAST_QUERYINFO`)
 - Has a more extensible options structure

Per the comment, I rather crudely have the `ostree checkout` builtin
call both APIs to ensure some testing coverage.

However, I'd like to in the future have easier-to-set-up testing code
that calls `libtest.sh` to set up dummy data.
2015-04-07 15:12:16 -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-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-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 tests: skip test-commit-sign.sh when not root 2015-04-03 09:57:20 +02: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 tests: Update test-gpg-signed-commit.sh 2015-03-18 11:53:26 -04: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-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 syntax-check: Remove empty lines at the end of file 2015-02-02 15:07:56 +01: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-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