ostree/tests
Gatis Paeglis 4e81548447 Introducing ostree-grub-generator
ostree-grub-generator can be used to customize
the generated grub.cfg file. Compile time
decision ostree-grub-generator vs grub2-mkconfig
can be overwritten with the OSTREE_GRUB2_EXEC
envvar - useful for auto tests and OS installers.

Why this alternative approach:

1) The current approach is less flexible than using a
   custom 'ostree-grub-generator' script. Each system can
   adjust this script for its needs, instead of using the
   hardcoded values from ostree-bootloader-grub2.c.

2) Too much overhead on embedded to generate grub.cfg
   via /etc/grub.d/ configuration files. It is still
   possible to do so, even with this patch applied.
   No need to install grub2 package on a target device.

3) The grub2-mkconfig code path has other issues:
   https://bugzilla.gnome.org/show_bug.cgi?id=761180

Task: https://bugzilla.gnome.org/show_bug.cgi?id=762220

Closes: #228
Approved by: cgwalters
2016-04-04 14:19:35 +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 Introducing ostree-grub-generator 2016-04-04 14:19:35 +00:00
archive-test.sh tests: Use "bash strict mode" 2016-01-27 11:44:10 -05:00
basic-test.sh basic-test: commit with a non-empty subject 2016-03-31 14:22:06 +00:00
bootloader-entries-crosscheck.py Introducing ostree-grub-generator 2016-04-04 14:19:35 +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 Introducing ostree-grub-generator 2016-04-04 14:19:35 +00:00
ostree-grub-generator Introducing ostree-grub-generator 2016-04-04 14:19:35 +00: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
test-abi.sh test-abi: use G_TEST_SRCDIR, G_TEST_BUILDDIR 2016-03-31 18:54:13 +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 Introducing ostree-grub-generator 2016-04-04 14:19:35 +00: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 Probe for GNU parallel more accurately 2016-03-31 14:22:06 +00: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 libtest.sh: use G_TEST_SRCDIR, G_TEST_BUILDDIR to find resources 2016-03-31 18:54:13 +00: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 various tests: skip if temp directory lacks xattr support 2016-03-31 14:22:06 +00: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: Make failing to kill the GPG agent non-fatal 2016-03-31 18:43:31 +00: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 libtest.sh: use G_TEST_SRCDIR, G_TEST_BUILDDIR to find resources 2016-03-31 18:54:13 +00:00
test-demo-buildsystem.sh Skip tests that run rofiles-fuse if /dev/fuse or /etc/mtab unavailable 2016-03-31 14:22:06 +00:00
test-export.sh Fix make syntax-check 2016-03-01 10:08:25 -05:00
test-gpg-signed-commit.sh tests: Make failing to kill the GPG agent non-fatal 2016-03-31 18:43:31 +00: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 various tests: skip if temp directory lacks xattr support 2016-03-31 14:22:06 +00: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 various tests: skip if temp directory lacks xattr support 2016-03-31 14:22:06 +00:00
test-pull-archive-z.sh libtest.sh: use G_TEST_SRCDIR, G_TEST_BUILDDIR to find resources 2016-03-31 18:54:13 +00: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: Make failing to kill the GPG agent non-fatal 2016-03-31 18:43:31 +00: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: Make failing to kill the GPG agent non-fatal 2016-03-31 18:43:31 +00:00
test-pull-untrusted.sh test-pull-untrusted.sh: always corrupt a regular file, not a symlink 2016-03-31 14:22:06 +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: Make failing to kill the GPG agent non-fatal 2016-03-31 18:43:31 +00: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 Skip tests that run rofiles-fuse if /dev/fuse or /etc/mtab unavailable 2016-03-31 14:22:06 +00: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 test-xattrs: sync how this is skipped with test-rofiles-fuse 2016-03-31 18:54:13 +00:00