ostree/tests
Colin Walters 42c60effbe pull: Support specifying exact commit to pull via branch@commit
I don't know why we didn't do this a long time ago.  This extends the
pull API to allow grabbing a specific commit, and will set the branch
to it.  There's some support for this in the deploy engine, but there
are a lot of reasons to support it for raw pulls (such as subset
mirroring cases).

In fact I'm thinking we should also have the override-version logic
here too.

NOTE: One thing I debated here is inventing a new syntax on the
command line.  Git doesn't seem to have this functionality (probably
because it'd be rarely used). The '@' character at least doesn't
conflict with anything.

Anyways, I wanted this for some other test cases.  Without this,
writing tests that go between different commits is more awkward as one
must generate the content in one repo, then pull downstream, then
generate more content, then pull again.  But now I can just keep track
of commit IDs and do exactly what I want without synchronizing the
tests.
2016-02-14 10:12:26 -05:00
..
gpg-verify-data gpg: Regenerate test data for test-gpg-verify-result 2015-03-19 12:43:04 -04:00
gpghome tests: Add test-remote-gpg-import.sh 2015-05-13 13:08:49 -04:00
.gitignore Update .gitignore 2015-08-26 12:16:29 -07:00
admin-test.sh repo: Port -refs.c to openat() 2016-01-28 14:57:13 -05:00
archive-test.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
basic-test.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
corrupt-repo-ref.js corrupt-repo-ref.js: more aggressive file corruption 2014-10-22 20:02:06 +02:00
grub2-entries-crosscheck.py tests: Add a test script to cross-check loader config vs GRUB2 2015-05-28 14:21:30 -04:00
libtest.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
ostree-valgrind.supp core: Check out asynchronously 2012-06-21 18:05:13 -04:00
pull-test.sh pull: Support specifying exact commit to pull via branch@commit 2016-02-14 10:12:26 -05:00
readdir-rand.c tests: Use readdir64 when _FILE_OFFSET_BITS set 2015-06-04 18:56:31 -04:00
syslinux-entries-crosscheck.py tests: Add a crosscheck for syslinux bootloader config generation 2015-05-28 14:21:30 -04:00
test-admin-deploy-2.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-deploy-clean.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-deploy-etcmerge-cornercases.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-deploy-grub2.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-deploy-karg.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-deploy-switch.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-deploy-syslinux.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-deploy-uboot.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-instutil-set-kargs.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-locking.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-pull-deploy-commit.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-upgrade-not-backwards.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-admin-upgrade-unconfigured.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-archivez.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-auto-summary.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-basic-user.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-basic.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-bsdiff.c Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-checksum.c core: new function _ostree_parse_delta_name 2015-05-07 21:58:04 +02:00
test-commit-sign.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-core.js test-core.js: Add standard copyright header 2013-09-18 16:34:57 -04:00
test-corruption.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-delta.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-export.sh Add an `export` builtin, and API to write to libarchive 2016-02-14 09:53:01 -05:00
test-gpg-signed-commit.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-gpg-verify-result.c Use g_autoptr(GVariant) instead of gs_unref_variant 2015-05-06 22:07:10 -04:00
test-help.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-keyfile-utils.c Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-libarchive.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-local-pull-depth.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-local-pull.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-lzma.c tests: fix LZMA test to really compress/decompress 2015-10-13 15:24:09 +02:00
test-mutable-tree.c Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-oldstyle-partial.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-ot-opt-utils.c Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-ot-tool-util.c Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-ot-unix-utils.c Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-prune.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-archive-z.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-commit-only.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-corruption.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-depth.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-large-metadata.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-metalink.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-mirror-summary.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-resume.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-subpath.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-summary-sigs.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-remote-add.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-remote-gpg-import.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-repo-checkout-subpath.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-reset-nonlinear.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-rofiles-fuse.sh Import rofiles-fuse 2016-02-10 13:11:25 +01:00
test-rollsum-cli.c tests: rename test-rollsum to test-rollsum-cli 2015-08-24 11:07:36 +02:00
test-rollsum.c tests: Add tests for rollsum 2015-08-25 09:27:56 -04:00
test-setuid.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05: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 Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-xattrs.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00