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.
This commit is contained in:
Richard W.M. Jones
2024-04-25 12:56:48 +01:00
parent 87b4d19f85
commit 574a87f889
30 changed files with 4 additions and 0 deletions

0
test-data/binaries/bin-aarch64-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-armv7-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-i586-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-ia64-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-mipsel-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-ppc64-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-ppc64le-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-riscv64-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-s390x-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-sparc-dynamic Executable file → Normal file
View File

0
test-data/binaries/bin-win32.exe Executable file → Normal file
View File

0
test-data/binaries/bin-win64.exe Executable file → Normal file
View File

0
test-data/binaries/bin-x86_64-dynamic Executable file → Normal file
View File

0
test-data/binaries/lib-aarch64.so Executable file → Normal file
View File

0
test-data/binaries/lib-armv7.so Executable file → Normal file
View File

0
test-data/binaries/lib-i586.so Executable file → Normal file
View File

0
test-data/binaries/lib-ia64.so Executable file → Normal file
View File

0
test-data/binaries/lib-mipsel.so Executable file → Normal file
View File

0
test-data/binaries/lib-ppc64.so Executable file → Normal file
View File

0
test-data/binaries/lib-ppc64le.so Executable file → Normal file
View File

0
test-data/binaries/lib-riscv64.so Executable file → Normal file
View File

0
test-data/binaries/lib-s390x.so Executable file → Normal file
View File

0
test-data/binaries/lib-sparc.so Executable file → Normal file
View File

0
test-data/binaries/lib-win32.dll Executable file → Normal file
View File

0
test-data/binaries/lib-win64.dll Executable file → Normal file
View File

0
test-data/binaries/lib-x86_64.so Executable file → Normal file
View File

View File

@@ -50,6 +50,7 @@ write /etc/hostname "archlinux.test"
upload $SRCDIR/archlinux-package /var/lib/pacman/local/test-package-1:0.1-1/desc
upload $SRCDIR/../binaries/bin-x86_64-dynamic /bin/ls
chmod 0755 /bin/ls
mkdir /boot/grub
touch /boot/grub/grub.conf

View File

@@ -85,6 +85,7 @@ write /etc/hostname "debian.invalid"
upload $SRCDIR/debian-packages /var/lib/dpkg/status
upload $SRCDIR/../binaries/bin-x86_64-dynamic /bin/ls
chmod 0755 /bin/ls
upload $SRCDIR/debian-syslog /var/log/syslog

View File

@@ -331,6 +331,7 @@ $g->write ('/usr/lib/rpm/macros', <<EOF);
EOF
$g->upload ($ENV{SRCDIR}.'/../binaries/bin-x86_64-dynamic', '/bin/ls');
$g->chmod (0755, '/bin/ls');
$g->tar_in ($ENV{SRCDIR}.'/fedora-journal.tar.xz', '/var/log/journal', compress => "xz");

View File

@@ -76,6 +76,7 @@ write /etc/hostname "ubuntu.invalid"
upload $SRCDIR/debian-packages /var/lib/dpkg/status
upload $SRCDIR/../binaries/bin-x86_64-dynamic /bin/ls
chmod 0755 /bin/ls
mkdir /boot/grub
touch /boot/grub/grub.conf