debian-forge/stages/test
Michael Vogt a3e32f3823 util: drop absolute path from Chroot.run() calls
We currently use the absolute path of these binaries in the
helper. This has some advantages but given that we control the
inputs for PATH in general it seems unnecessary.

We are also slightly inconsistent about this in the codebase but
favor the non absolute path version. A quick count:
```
$ git grep '"chroot"'|wc -l
13
$ git grep '"/usr/sbin/chroot"'|grep -v test_|wc -l
8
```
for `mount` and `umount` it seems this is the only place that uses
the absolute path.

It's not an important change but it has the nice property that it
allows us to use e.g. `testutil.mock_command()` in our tests and
it would be nice to be consistent.
2024-10-24 10:06:46 +02:00
..
conftest.py stages: remove test_schema_supports_bootc_style_mounts tests 2024-05-03 11:26:22 +02:00
test_autotailor.py stages/autotailor: fix stage schema 2024-07-25 11:56:07 +02:00
test_bootc_install_config.py test/bootc_install_config: parse config for result 2024-08-21 19:26:31 +02:00
test_bootc_install_to_fs.py stages: fix test values for "images" inputs 2024-04-29 14:11:44 +02:00
test_bootupd.py ostree: add convenience function for using default OSTree deployment 2024-02-07 18:50:38 -05:00
test_btrfs_subvol.py stages: fix btrfs subvolume creation under subdirectories 2024-09-13 11:23:35 +02:00
test_cloud-init.py stages/test: introduce 'stage_module' fixture 2024-01-31 17:18:52 +01:00
test_container_deploy.py stages: fix test values for "images" inputs 2024-04-29 14:11:44 +02:00
test_containers_storage_conf.py stages: replace toml imports with our util module 2024-08-21 19:26:31 +02:00
test_containers_unit_create.py Add test for containers.unix.create stage 2024-09-19 10:37:28 +02:00
test_coreos_platform.py stages: add test for coreos.platform generate_console_settings_file 2024-02-28 10:37:01 +01:00
test_dmverity.py stages: add stage for creating dm-verity partitions 2024-07-03 16:54:32 +02:00
test_dnf4_sbom_spdx.py Add org.osbuild.dnf4.sbom.spdx stage 2024-09-18 12:26:36 +02:00
test_dracut.py util: drop absolute path from Chroot.run() calls 2024-10-24 10:06:46 +02:00
test_erofs.py stages/test: introduce 'stage_schema' fixture 2024-01-31 17:18:52 +01:00
test_groups.py stages: remove test_schema_supports_bootc_style_mounts tests 2024-05-03 11:26:22 +02:00
test_grub2.py Stages/grub2: extend default config options 2024-02-20 19:28:43 +01:00
test_grub2_legacy.py Stages/grub2.legacy: make config options a subset of grub2 stage 2024-02-21 17:51:28 +01:00
test_gunzip.py Tests: Add unit tests for org.osbuild.gunzip stage 2024-08-02 08:48:06 +02:00
test_gzip.py stages: add small unit test for the gzip stage 2024-03-04 11:18:13 +01:00
test_kickstart.py stages/kickstart: add support for the dir transport 2024-05-03 11:13:44 +02:00
test_machine-id.py stages/test: introduce 'stage_schema' fixture 2024-01-31 17:18:52 +01:00
test_mkfs_btrfs.py general: Fix linter issues across the codebase 2024-08-26 11:59:46 -07:00
test_mkfs_ext4.py stages/test: introduce 'stage_schema' fixture 2024-01-31 17:18:52 +01:00
test_mkfs_fat.py general: Fix linter issues across the codebase 2024-08-26 11:59:46 -07:00
test_mkfs_xfs.py general: Fix linter issues across the codebase 2024-08-26 11:59:46 -07:00
test_mkswap.py stages: add a new mkswap stage 2024-09-02 15:27:32 +02:00
test_ostree_post_copy.py stages/test: introduce 'stage_schema' fixture 2024-01-31 17:18:52 +01:00
test_selinux.py stages/selinux: don't require file_contexts if labels passed 2024-09-25 09:17:34 +02:00
test_skopeo.py stages/test: Check that remove_signatures is passed to skopeo-copy 2024-05-01 00:23:02 +02:00
test_systemd.py stages/test: introduce 'stage_module' fixture 2024-01-31 17:18:52 +01:00
test_systemd_unit_create.py test/systemd_unit_create: mount unit type creation 2024-05-17 14:26:14 +02:00
test_tar.py stages(tar): expose new transform option to tar stage 2024-09-25 12:57:00 +02:00
test_users.py stages(users): add additional tests for force_password_reset 2024-05-20 14:13:56 -07:00
test_xz.py stages/test: introduce 'stage_schema' fixture 2024-01-31 17:18:52 +01:00
test_zip.py stages(zip): add test for zip stage 2024-04-04 13:54:34 +02:00
test_zipl_inst.py test: add simple zipl_inst tests 2024-02-07 18:08:44 -05:00
test_zstd.py stages/test: introduce 'stage_schema' fixture 2024-01-31 17:18:52 +01:00