Files
libguestfs/test-data/binaries
Richard W.M. Jones 8cd31e58fd test-data/binaries: Remove +x attribute
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)
2024-05-13 14:17:01 +01:00
..
2023-02-07 10:50:48 +00:00

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.