diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-30 13:02:19 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-12-04 09:51:26 +0100 |
commit | 460064d262114abc809c5e739789722ca9b0d432 (patch) | |
tree | bb449ac9c638c951eba2c891029a7a4e31c4b9cf /util.h | |
parent | 705549f83494ebd23987e87de38045d8200b4efd (diff) | |
download | passt-460064d262114abc809c5e739789722ca9b0d432.tar passt-460064d262114abc809c5e739789722ca9b0d432.tar.gz passt-460064d262114abc809c5e739789722ca9b0d432.tar.bz2 passt-460064d262114abc809c5e739789722ca9b0d432.tar.lz passt-460064d262114abc809c5e739789722ca9b0d432.tar.xz passt-460064d262114abc809c5e739789722ca9b0d432.tar.zst passt-460064d262114abc809c5e739789722ca9b0d432.zip |
test: Avoid hitting guestfish command length limits
In test/prepare-distro-img.sh we use guestfish to tweak our distro guest
images to be suitable. Part of this is using a 'copy-in' directive to copy
in the source files for passt itself. Currently we copy in all the files
with a single 'copy-in', since it allows listing multiple files. However
it turns out that the number of arguments it can accept is fairly limited
and our current list of files is already very close to that limit.
Instead, expand our list of files to one copy-in per file, avoiding that
limitation. This isn't much slower, because all the commands still run in
a single invocation of guestfish itself.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions