ostree/tests
Colin Walters c6b4ecd474 commit: Support generating commits with no parent, or a custom one
When I'm doing local development builds, it's quite common for me not
to want to accumulate history.  There are also use cases for this on
build servers as well.

In particular, using this, one could write a build system that didn't
necessarily need to have access to (a copy of) the OSTree repository.
Instead, the build system would determine the last commit ID on the
branch, and pass that to a worker node, then sync the generated
content back.

The API supported generating custom commits that don't necessarily
reference the previous commit on the same branch, let's just expose
this in the command line for convenience.

I plan to also support this rpm-ostree.

Closes: #223
Approved by: jlebon
2016-03-29 14:31:29 +00:00
..
gpg-verify-data gpg: Regenerate test data for test-gpg-verify-result 2015-03-19 12:43:04 -04:00
gpghome tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
.gitignore Update .gitignore 2015-08-26 12:16:29 -07:00
admin-test.sh tests/admin-test.sh: add #!/bin/sh 2016-03-21 13:02:25 -04:00
archive-test.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
basic-test.sh commit: Support generating commits with no parent, or a custom one 2016-03-29 14:31:29 +00: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
libostreetest.c lib: Add ostree_sysroot_load_if_changed() API 2016-03-03 21:56:23 -05:00
libostreetest.h lib: Add ostree_sysroot_load_if_changed() API 2016-03-03 21:56:23 -05:00
libtest.sh tests: Strengthen test tmpdir sanity check, be compat with ginsttest saving 2016-03-18 08:45:25 -04:00
ostree-valgrind.supp core: Check out asynchronously 2012-06-21 18:05:13 -04:00
pre-endian-deltas-repo-big.tar.xz deltas: Heuristically detect endianness for older deltas 2016-02-26 08:19:01 -05:00
pre-endian-deltas-repo-little.tar.xz deltas: Heuristically detect endianness for older deltas 2016-02-26 08:19:01 -05:00
pull-test.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -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-abi.sh tests: Add a test-abi 2016-03-24 16:23:12 +00:00
test-admin-deploy-2.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-deploy-clean.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-deploy-etcmerge-cornercases.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -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: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-deploy-switch.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-deploy-syslinux.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-deploy-uboot.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-instutil-set-kargs.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-locking.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-pull-deploy-commit.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-upgrade-not-backwards.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-admin-upgrade-unconfigured.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-archivez.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-auto-summary.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-basic-c.c lib: Add ostree_sysroot_load_if_changed() API 2016-03-03 21:56:23 -05:00
test-basic-user.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-basic.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-bsdiff.c Remove unnecessary #include "libgsystem.h" 2015-05-06 22:07:11 -04:00
test-checksum.c libglnx porting: gs_free -> g_autofree 2016-03-18 12:08:19 -04:00
test-commit-sign.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -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: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-demo-buildsystem.sh docs: Add a section on writing buildsystems 2016-03-16 17:15:58 -04:00
test-export.sh Fix make syntax-check 2016-03-01 10:08:25 -05:00
test-gpg-signed-commit.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-gpg-verify-result.c tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05: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-import.c Skip test_libarchive_ignore_device_file if we cannot write xattrs 2016-03-21 13:02:49 -04:00
test-libarchive.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -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: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -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: Add a commitpartial + prune test 2016-03-23 15:34:17 -04:00
test-pull-archive-z.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -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: More TAP fixups 2016-03-03 18:00:54 -05:00
test-pull-depth.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-pull-large-metadata.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-pull-metalink.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-pull-mirror-summary.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-pull-resume.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-pull-subpath.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-pull-summary-sigs.sh tests: add test for summary file caching 2016-03-15 09:48:47 +01:00
test-pull-untrusted.sh Add --untrusted option to pull and pull-local 2016-03-25 12:56:55 +00:00
test-refs.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-remote-add.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-remote-gpg-import.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-repo-checkout-subpath.sh tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-reset-nonlinear.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
test-rofiles-fuse.sh tests: More TAP fixups 2016-03-03 18:00:54 -05: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: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -05:00
test-sizes.js core: Add size information to commit metadata 2013-10-19 11:56:51 -04:00
test-sysroot-c.c lib: Add ostree_sysroot_load_if_changed() API 2016-03-03 21:56:23 -05:00
test-sysroot.js tests: Port to glib-tap.mk, make `make check` run all of the tests 2016-03-03 08:50:19 -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