Skip to content

Commit 3706c4d

Browse files
committed
Update to reflect Alpine 3.23's changed file output
Signed-off-by: Dominik <[email protected]>
1 parent 9e07956 commit 3706c4d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/arch_test.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if [[ "${CI_ARCH}" == "linux/amd64" ]]; then
9999
check_machine "ELF64" "Advanced Micro Devices X86-64"
100100
check_static # Binary should not rely on any dynamic interpreter
101101
check_libs "" # No dependency on any shared library is intended
102-
check_file "ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, with debug_info, not stripped"
102+
check_file "ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, with debug_info, not stripped"
103103
else
104104
check_machine "ELF64" "Advanced Micro Devices X86-64"
105105
check_libs "[libgmp.so.10] [libidn2.so.0] [libc.musl-x86_64.so.1]"
@@ -111,7 +111,7 @@ elif [[ "${CI_ARCH}" == "linux/386" ]]; then
111111
check_machine "ELF32" "Intel 80386"
112112
check_static # Binary should not rely on any dynamic interpreter
113113
check_libs "" # No dependency on any shared library is intended
114-
check_file "ELF 32-bit LSB executable, Intel i386, version 1 (SYSV), statically linked, with debug_info, not stripped"
114+
check_file "ELF 32-bit LSB pie executable, Intel i386, version 1 (SYSV), static-pie linked, with debug_info, not stripped"
115115

116116
elif [[ "${CI_ARCH}" == "linux/arm/v5" ]]; then
117117

@@ -131,7 +131,7 @@ elif [[ "${CI_ARCH}" == "linux/arm/v6" ]]; then
131131
# Alpine Builder
132132
check_static # Binary should not rely on any dynamic interpreter
133133
check_libs "" # No dependency on any shared library is intended
134-
check_file "ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, with debug_info, not stripped"
134+
check_file "ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), static-pie linked, with debug_info, not stripped"
135135

136136
check_CPU_arch "v6KZ"
137137
# VFPv3 is backwards compatible with VFPv2
@@ -142,7 +142,7 @@ elif [[ "${CI_ARCH}" == "linux/arm/v7" ]]; then
142142
check_machine "ELF32" "ARM"
143143
check_static # Binary should not rely on any dynamic interpreter
144144
check_libs "" # No dependency on any shared library is intended
145-
check_file "ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, with debug_info, not stripped"
145+
check_file "ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), static-pie linked, with debug_info, not stripped"
146146

147147
check_CPU_arch "v7"
148148
check_FP_arch "VFPv3"
@@ -152,14 +152,14 @@ elif [[ "${CI_ARCH}" == "linux/arm64/v8" || "${CI_ARCH}" == "linux/arm64" ]]; th
152152
check_machine "ELF64" "AArch64"
153153
check_static # Binary should not rely on any dynamic interpreter
154154
check_libs "" # No dependency on any shared library is intended
155-
check_file "ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, with debug_info, not stripped"
155+
check_file "ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), static-pie linked, with debug_info, not stripped"
156156

157157
elif [[ "${CI_ARCH}" == "linux/riscv64" ]]; then
158158

159159
check_machine "ELF64" "RISC-V"
160160
check_static # Binary should not rely on any dynamic interpreter
161161
check_libs "" # No dependency on any shared library is intended
162-
check_file "ELF 64-bit LSB executable, UCB RISC-V, RVC, double-float ABI, version 1 (SYSV), statically linked, with debug_info, not stripped"
162+
check_file "ELF 64-bit LSB pie executable, UCB RISC-V, RVC, double-float ABI, version 1 (SYSV), static-pie linked, with debug_info, not stripped"
163163

164164
else
165165

0 commit comments

Comments
 (0)