summaryrefslogtreecommitdiffstats
path: root/tests/data/README-binfiles
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/README-binfiles')
-rw-r--r--tests/data/README-binfiles13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/README-binfiles b/tests/data/README-binfiles
new file mode 100644
index 00000000..f99fc847
--- /dev/null
+++ b/tests/data/README-binfiles
@@ -0,0 +1,13 @@
+The bin-* and lib-* files are used for testing the
+Sys::Guestfs::Lib::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 tests in the perl/
+directory.