mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
These binaries are not meant to be run, they are purely data files
used for testing. Remove the +x attribute to prevent accidentally
running them.
However to avoid breaking the phony guests, we need to chmod +x the
files when we upload them into those guests.
(cherry picked from commit 574a87f889)
The bin-* and lib-* files are used for testing the
guestfs_file_architecture API.
The bin-* files are generated from empty source files (ie.
"main(){}") on the respective architectures.
The lib-* files are generated from a (really) empty source file called
lib.c which is linked into a library using gcc -shared on the
respective architectures.
If you are concerned that these binary files "lack source" then you
can just remove them, but you may need to patch out various tests.